Re: Something Broken When I Went To 5.1.2...
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Something Broken When I Went To 5.1.2...

From: <47computers@gmail.com>
Date: Wed Mar 29 2006 - 15:58:24 CEST

> Check 'mysql.default_socket' in your php.ini file, and 'socket' in
> your my.cnf file. They need to match.

Ah, there's a slight discrepency. One of them points to the socket,
the other points to a symlink that points to the socket. Not sure if
it really makes a difference, but it's better that they both point
directly to the socket. Fixed.

> Also, what are the mod flags for the socket? They should be
> 'srwxrwxrwx'.

Check.

> Finally - stop MySQL and delete the socket (if it isn't deleted when
> you stop MySQL). Restart MySQL and see if it's recreated. This
> will prove the socket is not left over from a previous run, i.e. if
> MySQL crashed.

/etc/rc.d/rc.mysql stop
find / -name 'mysql.sock'

Man, turned up more files than I would have thought. Did some house
cleaning on that. This definitely helped, thanks. Between you and a
reply on another forum, everything's working fine now. Thanks a bunch!

Regards,
David P. Donahue
ddonahue@ccs.neu.edu
http://www.cyber0ne.com
Received on Mon May 1 02:44:12 2006