ROGER DEBRY wrote:
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
after
#!/bin/bash
or #!/bin/sh
whatever the first line might be.
That will print out the commands that the file is running.
"Chris" <dmagick@xxxxxxxxx> 10/29/2006 4:34 PM >>>
ROGER DEBRY wrote:
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
start,
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
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php