Mysql got issue

edisonvpb

New member
Joined
Dec 1, 2015
Messages
35
Points
0
Hello guys

I got problem in mysql.ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'.

How to fix it.

Thank you.
 

vishwa

Well-known member
Joined
May 12, 2014
Messages
1,068
Points
63
That error means the file /var/run/mysqld/mysqld.sock doesn't exists, if you didn't install mysql-server, then the file would not exist. But if the mysql-server is already installed and is running, then you need to check the config files.
 

reCharge

New member
Joined
Jul 7, 2016
Messages
37
Points
0
Alternatively this error comes up when a mysql-server went down caused by high load. But after a restart everything should work fine again.
 

edisonvpb

New member
Joined
Dec 1, 2015
Messages
35
Points
0
Thank you guys. I have fixed my issue.
 
Newer threads
Latest threads
  • Awaiting approval
Replies
0
Views
1
  • Awaiting approval
Replies
0
Views
1
  • Deleted
  • Deleted by Admin
Replies
0
Views
1
Replies
2
Views
25
Recommended threads
Replies
3
Views
3,287
Replies
6
Views
2,638
Replies
3
Views
1,646
Replies
7
Views
5,806

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Latest Blog ArticlesMost Viewed Threads

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top