Hi,
In /etc/my.cnf you must put the right path to this file.
E.g.
[mysqld]
datadir=/var/lib/mysql
socket=/tmp/mysql.sock
.
Or if you don't want to make changes int my.cnf file you can connect using :
mysql -S /tmp/mysql.sock
Regards,
Gelu
_
Hi Melissa,
/tmp/mysql/sock ?
Are you sure you do not mean:
/tmp/mysql.sock ?
At any rate, it is a UNIX domain socket, and is supposed to be empty (it is
basically a socket in the filesystem). If you do a "ls -la /tmp/mysql.sock",
it will give you something like this:
srwxrwxrwx 1 mysql whe