pauljones_2
12-16-2003, 01:30 PM
I have a single RAQ550 box which I have upgraded for use with PHP and MySQL so that I can host PostNuke web sites.
Everything was working Ok until last Friday when I installed an Apache and MySQL patch from Sun. Ever since then, the PostNuke sites are saying that they are having a problem connecting to MySQL.
When I log into the box and try to view the database I get the following error -
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
I think the MySQL update has emptied the /tmp directory.
The mysql.sock file is now in ./var/lib/mysql/
I have done some reading around the net and found that you can change the location of this file in the my.conf file but by box does not have this file anywhere.
Am I heading in the right direction or do you think the problem lies elsewhere?
Any help would be much appreciated. My linux knowledge is a bit lacking.
Thanks
Everything was working Ok until last Friday when I installed an Apache and MySQL patch from Sun. Ever since then, the PostNuke sites are saying that they are having a problem connecting to MySQL.
When I log into the box and try to view the database I get the following error -
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
I think the MySQL update has emptied the /tmp directory.
The mysql.sock file is now in ./var/lib/mysql/
I have done some reading around the net and found that you can change the location of this file in the my.conf file but by box does not have this file anywhere.
Am I heading in the right direction or do you think the problem lies elsewhere?
Any help would be much appreciated. My linux knowledge is a bit lacking.
Thanks
