13128RE: [TTLUG] php mysql.sock problems
- Jun 1, 2004-----BEGIN PGP SIGNED MESSAGE-----
I had this problem a while aback. Check mysql.conf for the location of the socket file.
Then I believe you can edit conf.php to look there. Also, check your file permissions, make 'em more open if you need to, and double check who you're logging into the db as in your PHP script. If all else fails, bypass sockets and use ports; try connecting through 'localhost'.
Oh and as a security tip, unless other machines are accessing your db, setup your fw to block external traffic to MySQL port.
As for the problems RHS had installing; dude, when did you do that install? I remember my first APACHE/PHP3 install had some funky stuff, but not like what you described. It's easy now, a vanilla install of Apache can work eith a PHP install by adding two lines in your apache conf and restarting.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2
-----END PGP SIGNATURE-----
- << Previous post in topic