GICT knowledge base
How can I start and stop mysql?
Published
The standard start/stop scripts are located in /etc/init.d or for older linux versions /etc/rc.d/init.d.
Stop MySQL: /etc/init.d/mysql stop
Start MySQL: /etc/init.d/mysql start
If you run cPanel there is a restart script located at /scripts/restartsrv.
To restart MySQL run /scripts/restartsrv mysql
Related guides
Check MariaDB Versions and Compatibility on Shared Hosting
Check your actual MariaDB/MySQL server version, maintenance coverage and application requirements before requesting a shared-hosting upgrade or move.
MySQLHow to Monitor MySQL Database Server Performance
Learn how to monitor MySQL performance with 4 essential Linux command-line tools.
MySQLHow to secure MySQL connections with SSL on Ubuntu
MySQL allows remote connections and we must protect data transfer happeneing between servers with SSL. Follow this tutorial to learn how.
MySQLHow to set up High Availability WordPress with HyperDB
HyperDB is a drop-in plugin that allows you to set up High Availability WordPress site that can work with multiple database servers at once.
