Server Startup and Shutdown

Because the MySQL server is a server process, it should start up automatically when the machine starts up. It should also shut down cleanly when the computer shuts down. How you achieve these goals depends heavily on your operating system.

Tip

You can start the server directly from the command line using the mysqld command. It is recommended, however, that you use safe_mysqld when starting MySQL by hand under all operating systems.

Get Managing & Using MySQL, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.