Answers for "error 2002 (hy000) : cant connect to local mysql through /var/lib/mysql/mysql.sock"

SQL
4

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.s

> ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
> 
> service mysql start or service mysql start
Posted by: Guest on June-04-2020
1

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

sudo apt-get install mysql-server
Posted by: Guest on October-10-2020

Code answers related to "error 2002 (hy000) : cant connect to local mysql through /var/lib/mysql/mysql.sock"

Code answers related to "SQL"

Browse Popular Code Answers by Language