1. MySQL installed via rpm package service mysqld restart /etc/inint.d/mysqld start 2. MySQL installed from source package // Linux shutdown MySQL command $mysql_dir/bin/mysqladmin -uroot -p shutdown // Linux starts the MySQL command $mysql_dir/bin/mysqld_safe & mysql_dir is the installation directory of MySQL, and mysqladmin and mysqld_safe are located in the bin directory of the MySQL installation directory. 3. When the above methods are ineffective, you can shut down MySQL by forcibly commanding: "killall mysqld". The above are the various methods of restarting Mysql under CentOS introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Windows Server 2008 R2 Multi-User Remote Desktop Connection Licensing
Table of contents 1. Introduction 1.1 Principle 1...
Table of contents Introduction Creating an Array ...
Table of contents introduction Install Homebrew I...
Ubuntu 20.04 does not have root login enabled by ...
Q1: What indexes does the database have? What are...
Problem description: Recently, there is a demand ...
This article shares the specific code of JavaScri...
Compared with fdisk, parted is less used and is m...
The world-famous virtual machine software VMware-...
This article shares the specific code of jQuery t...
Table of contents First method App.vue Home.vue H...
Table of contents 1. Responsive principle foundat...
This article introduces the flex layout to achiev...
The inline-block property value becomes very usef...
This old question has troubled countless front-end...