Check for /etc/my.cnf or .my.cnf in mysql's var directory.
One of these must have a line misdefining the socket as mysqld.sock.
Chad Nantais wrote:
>> Description: on start, MySQL creates a socket (mysqld.sock), in the /tmp directory
>by default, and tries to start
>
> by opening socket mysql
>Description: on start, MySQL creates a socket (mysqld.sock), in the /tmp directory by
>default, and tries to start
by opening socket mysql.sock. this might be a configuration error. the
following fix worked.
>How-To-Repeat:
try to start mysql by running ./safe_mysqld
>Fix: