Answer the question
In order to leave comments, you need to log in
How to solve the problem "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13 "Permission denied")"?
At first I got this error
ERROR 2002 (HY000): Can't connect
to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2)
┌─(/var/run/mysqld)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────([email protected]:pts/17)─┐
└─(16:06:24)──> ll ──(Ср,сен13)─┘
итого 0
drwxr-xr-x 2 mysql root 60 сен 13 15:54 ./
drwxr-xr-x 29 root root 900 сен 13 13:49 ../
prw-r--r-- 1 mysql root 0 сен 13 15:54 mysqld.sock|
Answer the question
In order to leave comments, you need to log in
as a host, instead of localhost , write 127.0.0.1 or vice versa
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question