cello Posted May 29, 2009 Share Posted May 29, 2009 Hi A distant friend setup a basic database using Mysql + PHP that allowed webusers to logon to my website using username / password. This stopped working a while ago and I only now have sometime to look into it. When I SSH into the server and run Mysqladmin or mysql I get the connect socket error. Looking at the my.cnf file the socket is pointing to ... socket=/home/virtual/FILESYSTEMTEMPLATE/.mysqlsock/mysql.sock I can only imagine that as my friend in question hosts a few websites he used templates tomake things easier. The problem to me is that socket path is wrong but I am not sure what to change it to. I cannot find a mysql.sock file on my system so I was going to creat one in /tmp but fear that will not work either. I gather that if I could stop / restart the daemon the mysql process would regenerate a mysql.sock BUT the problem is I dont have su access! I have tried to contact my webmaster but he is proving hard to contact. Any help would be appreciated.............a dumb question i know!! Link to comment https://forums.phpfreaks.com/topic/160088-dumb-question-from-a-complete-novice-any-guidance-appreciated/ Share on other sites More sharing options...
fenway Posted June 2, 2009 Share Posted June 2, 2009 There's a refman page on sockets that might be helpful here. Link to comment https://forums.phpfreaks.com/topic/160088-dumb-question-from-a-complete-novice-any-guidance-appreciated/#findComment-847737 Share on other sites More sharing options...
cello Posted June 19, 2009 Author Share Posted June 19, 2009 Hi sorry been away... is that a man page on sockets? Any help appreciated. Thanks Link to comment https://forums.phpfreaks.com/topic/160088-dumb-question-from-a-complete-novice-any-guidance-appreciated/#findComment-859630 Share on other sites More sharing options...
fenway Posted June 22, 2009 Share Posted June 22, 2009 Yes, but a mysql-specific one. Link to comment https://forums.phpfreaks.com/topic/160088-dumb-question-from-a-complete-novice-any-guidance-appreciated/#findComment-860987 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.