The permissions on the socket are rwxrwxrwx -- I don't see how that
could be the problem.

But who owns the file? It should be owned by 'mysql', not 'root'.

If you want to know what the init.d file runs, add:

set -x


or #!/bin/sh

whatever the first line might be.

That will print out the commands that the file is running.

"Chris" <[EMAIL PROTECTED]> 10/29/2006 4:34 PM >>>
skip-networking is uncommented in the [mysqld] section of my.cnf

I did discover something interesting this morning. When starting the MySQL server with mysqld_safe, I cannot connect to the server with my php script. However, I started the server this morning with /etc/init.d/mysqld
and the php script connects just fine. Can anyone tell me why the difference?

Permissions on the socket file most likely.

Skip-Networking should be uncommented (that is you only connect via sockets) unless you specifically need remote network connections.

Postgresql & php tutorials

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to