How to restart MySQL: bitsCN.com
The correct method for restarting MySQL has changed my. cnf, the MySQL service needs to be restarted. because Mysql is installed from the source code package, there is no common servcie mysqld restart script in the system, so we have to manually restart Killall mysql. This brutal method is actually not feasible. if forced termination causes table damage, the loss will be huge. We recommend that you use the secure restart method $ mysql_dir/bin/mysqladmin-u root-p shutdown $ mysql_dir/bin/safe_mysqld & mysqladmin and mysqld_safe in the bin directory of the Mysql installation directory, it is easy to find. Restart the MySQL service in windows. for users without the mysql graphic Management end, start and stop the mysql service :... /... /Bin> net stop mysql... /... /Bin> net start mysql how to start/stop/restart MySQL -- start, stop, and restart MySQL is an operation that every webmaster with an independent host must hold, the following is a brief introduction of the operation Method: 1. startup method 1. start with service: service mysqld start 2. start with mysqld script:/etc/inint. d/mysqld start 3. start with safe_mysqld: safe_mysqld & 2. stop 1. start with service: service mysqld stop 2. start with mysqld script:/etc/inint. d/mysqld stop 3, mysqladmin shutdown -- 3. restart 1. start with service: service mysqld restart 2. start with mysqld script:/etc/inint. d/mysqld restart author lcffuflybitsCN.com
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.