Start Your MySQL Server Automatically After a System Restart


  1. Log into your mysql server
  2. If you are familiar with the text editor "vim" or "vi," go ahead to the next step. If not, type the following command.
    export EDITOR=/usr/local/bin/pico
  3. To add a cron job, type the following command:
    crontab -e
  4. Insert this line of text:
    @reboot /ux01/tools/mysql.starter
  5. Save and close the file using Pico. (Click for instructions on how to use pico).
  6. You can check the contents of your crontab by typing the following command:
    crontab -l
    If you ever want to delete all of your cron jobs, type the following command
    crontab -r





Popular posts from this blog

Shrink you container size up to 95%.

alma linux: dnf Module yaml error: Unexpected key in data