Starting the MySQL Server Automatically


Background

Starting the MySQL automatically when the system starts up would be very convinient. Automating this process with a script will insure consistency in the process.

If the Downloading and Installing MySQL exercise was successfully completed, then the script named mysql.server has been installed.

Objectives

Steps

  1. Find mysql.server
  2. Copy mysql.server
  3. Activate the script
  4. Stop the server
  5. Test
  6. Congratulations! You have successfully automated the start up of the MySQL server.