Hi,
1.
First verify that mysqld is running and /var/run/mysql/mysql.sock exists.
You should check my.cnf and see where the client (mysql) expects to find the mysql socket.
You have to make sure it's the same as the one in the daemon part of my.cnf:
Quote:
[client]
...
socket = /var/run/mysql/mysql.sock
...
[mysqld]
...
socket = /var/run/mysql/mysql.sock
...
|
2.
You can read
this for help.
Regards