Dan Hammer wrote:

> I get this error in my apache log file when I attempt to access index.mgd in the 
>admin directory.  What is causing this problem?
> 
> midgard-lib: mgd_connect to root@localhost://midgard failed: Can't connect to local 
>MySQL server through socket '/tmp/mysql.sock'

Does that file exist, and what are its permissions? If you su to the
user apache runs as and try

mysql -S/tmp/mysql.sock -u midgard -pmidgard midgard

What happens? If that fails too it's likely that the mysql server was
configured to run on a different socket from its compile-time
specified default, and that libmysqlclient isn't.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to