I can connect to mysql with

mysql -u dbname  -p

When I start MySQL Administrator v 1.1.6 it says

Could not connect to host 'localhost'.
MySQL Error Nr. 2002
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

...then I Click on Details and enter, '/var/lib/mysql/mysql.sock'

And can connect, no problem.

Doesn't the Administrator look to /etc/my.conf for the socket location info?

This is my my.conf file
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

log-error=/var/lib/mysql/mysqlerrorlog
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


Thanks

Jim



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to