[imp] Can't connect to local MySQL server

Raul Alvarez Venegas rav@tecoman.ucol.mx
Thu, 12 Apr 2001 21:19:05 +0000 ( )


On Thu, 12 Apr 2001, Camilo Amado wrote:

> > Have you sure that mysql is started?
> 
> Yes it is running and i can connect from the command line. I have checked 
> connecting to it with the hordemgr user and password from the command 
> line, with no problems

Make sure you have a /etc/my.cnf with at least:

[client]
socket=/var/run/mysql/mysql.sock

[mysqld]
socket=/var/run/mysql/mysql.sock

or whatever path you consider "safe" for the socket to be reside in since
it will have 777 permissions, chown /etc/my.cnf to the user running the
MySQL server.

Hope that helps you.

Raul