Glaanieboy
OSNN Veteran Addict
- Joined
- 6 Mar 2002
- Messages
- 2,628
I got an Apache2/php4/MySQL4.0 installation running on my Slackware Linux box. All is installed fine, but I got one little issue. PHP refuses to connect to MySQL, this error occurs:
I have checked the rights for that dir, they are 755 for user mysql and group mysql, so it should be able to wrote to that dir upon startup. How can I fix this problem?
I peeked into /var/run/mysql/ and the file isn't there, only mysql.pid.Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
I have checked the rights for that dir, they are 755 for user mysql and group mysql, so it should be able to wrote to that dir upon startup. How can I fix this problem?