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
Yesterday when I was implementing the function of...
This article describes how to install opencv with...
Table of contents 1. Understanding the Equality R...
The WeChat mini-program native components camera,...
Problem Description I recently encountered a prob...
Preface Using css to generate dotted lines is a p...
Question 1: The writing method that will report a...
Preface When we forget the MySQL database passwor...
Table of contents 1. Number in JavaScript 2. Math...
Table of contents Preface 1. Nginx+Tomcat 2. Conf...
Four practical vue custom instructions 1. v-drag ...
CSS adds scrolling to div and hides the scroll ba...
Table of contents Usage scenarios How to achieve ...
Table of contents 1. Introduction to Concurrency ...
Preface This article explains how to create a dat...