Running MySQL

on Unix or Linux

  • log onto your system from a command-line interface (Terminal)
  • change to the MySQL directory, cd /usr/local/mysql
  • Start safe_mysqld so that it runs in the background, bin/safe_mysqld

This line tells the server to keep safe_mysqld running constantly.   What the safe_mysqld application does is check to see if mySQLd is running and IF it is not,

Start up the daemon.   The very first time you start safe_mysqld, it will immediately realize that mysqld is not up and running and will therefore start it.


IF the above line does not work, try ./bin/safe_mysqld or go into the bin directory and type safe_mysqld or ./safe_mysqld.


IF mysqld fails to satrt, make note of the error message displayed and refer to " TroubleShooting ", for more help, as this is a most common occurrence.


  • Begin administering your databases
on Windows