In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to deal with mysql login errors, the contents of the articles are carefully selected and edited by the author, with a certain pertinence, the reference significance for everyone is still relatively great, the following with the author to understand how to deal with mysql login errors.
Mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket'/ tmp/mysql.sock' (2)
Solution:
Less / etc/my.cnf | grep sock
Socket =.
Vi / etc/my.cnf
Socket = / tmp/mysql.sock # add the line
Restart
2.Starting MySQL. ERROR! The server quit without updating PID file (/ data/mysql/localhost.localdomain.pid).
Solution:
Chown-R mysql.mysql / data/
/ etc/init.d/mysqld start
Starting MySQL.. SUCCESS!
After reading the above about how to deal with mysql login errors, many readers must have some understanding. If you need to get more industry knowledge and information, you can continue to pay attention to our industry information column.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.