The chances are that the reason that the mysqld uses that location in the first place is that the user it runs as does not have adequate permissions in /var/lib/mysql in the first place.
/J\
In reply to Re^2: Connecting to mysql using DBI and a non-standard socket
by gellyfish
in thread Connecting to mysql using DBI and a non-standard socket
by logan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |