Thommie Rother wrote:
> That's the really mystical part of it. Any time I open any .php3 or
> .php file from non-midgard projects, I get in httpd error_log:
>
> midgard-lib: mgd_connect to midgard@midgard failed: Can't connect to
> local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)[Thu
> Apr 26 19:51:27 2001] [warn] [client 192.168.0.1] Midgard: failed to
> open midgard for midgard
This socket does exist, and is readable by the user apache runs as? As
apache runs as user nobody on my system, I would do this test:
# su - nobody
$ mysql -S /var/lib/mysql/mysql.sock -u midgard -p midgard
> In THIS case, there is NO indication of a connect in the mysql log.
Which would be if the socket is inaccessible.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]