In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following brings you mysql connection Times ERROR 2002 (HY000) error how to deal with the relevant content, I believe you must have read a similar article. What's the difference between what we bring to everyone? Let's take a look at the text. I'm sure you'll get something after reading the mysql connection Times ERROR 2002 (HY000) how to deal with errors.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket'/ var/lib/mysql/mysql.sock' (2) reason for modifying my.cnf configuration file
Modifying the location of socket attributes under mysqld results in
Solution
Add client configuration, where the socket path is the same as mysqld
[client]
Socket=/var/lib/mysql_xx/mysql.sock
It can be solved after restarting the service.
For the above about the mysql connection Times ERROR 2002 (HY000) error how to deal with, do you think it is what you want? If you want to know more about it, you can continue to follow our industry information section.
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.