Re: Can't Connect to MySQL local Server

From: Date: Mon, 30 Oct 2006 13:38:24 +0000
Subject: Re: Can't Connect to MySQL local Server
References: 1 2 3 4 5 6  Groups: php.db 
Request: Send a blank email to php-db+get-42620@lists.php.net to get a copy of this message
The permissions on the socket are rwxrwxrwx -- I don't see how that could be the problem. >>> "Chris" <dmagick@gmail.com> 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/

« previous php.db (#42620) next »