CentOS input mysql prompt ERROR 2002 (HY000): how to solve Can't connect to
This article mainly explains "CentOS input mysql prompt ERROR 2002 (HY000):Can't connect to how to solve", the explanation content in the article is simple and clear, easy to learn and understand, please follow the idea of small series slowly in-depth, together to study and learn "CentOS input mysql prompt ERROR 2002 (HY000):Can't connect to how to solve" bar!
About CentOS Enter mysql Tip:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
The reason may be that the mysql service is not started. Enter the command:
# service mysqld start
Display: Starting mysqld: [ OK ] proves that the startup is successful!
You can now visit MySQL:
Thank you for reading, the above is "CentOS input mysql prompt ERROR 2002 (HY000):Can't connect to how to solve" the content, after the study of this article, I believe that we have a deeper understanding of CentOS input mysql prompt ERROR 2002 (HY000):Can't connect to how to solve this problem, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!