Permissions on the directory
>ERROR 2002: Can't connect to local MySQL server
>through socket '/var/run/mysql/mysql.sock' (111)
Mysql needs executable permissions on the /var/run/mysql directory. If this seems unsafe to you then another solution is to link the socket in (for example) the /tmp dir. Keep in mind that every local user would be able to contact the socket in both cases. A good setup for the mysql privileges would be needed.
Regards,
Hans
|