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 Stabilization Introduction Anti...
Preface: MySQL master-slave architecture should b...
React is a JavaScript library for building user i...
Native js encapsulated seamless carousel plug-in,...
As shown below: //Query the year and month of the...
Table of contents Logical Layering Separate busin...
Install Follow the README to install The document...
This article shares the specific code of js to re...
MySQL trigger syntax details: A trigger is a spec...
There are two types of hard disks in Linux: mount...
Table of contents Preface 1. Uninstall MySQL 2. I...
Table of contents 1. What is a closure? 1.2 Memoi...
question: My blog encoding is utf-8. Sometimes whe...
The <base> tag specifies the default addres...
body{font-size:12px; font-family:"宋体";}...