Running MySQL on Linux and Unix
On non-Windows systems, the mysqld daemonthe process the runs the MySQL serveris started using the mysqld_safe script, which ensures that mysqld continues to run. This is true for Mac OS X as well as Linux and other flavors of Unix. Calling this script is straightforward and should be pretty simple for those knowledgeable about Unix, so I'll run through it quickly. Stopping MySQL makes use of the mysqladmin utility, which I'll also demonstrate.
To start and stop MySQL on Linux and Unix: