Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: mysql_connect():


myrddann

Recommended Posts

:'( heeellp! I am having these errors from time to time and my hosting company is absolutely no help! Here is the error I get:

 

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/store/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

It happens every once in a while and I can't get access. They claim that its the script, but I haven't touched that file! Then there was another who told me that the system had to be reset. Any suggestions? thanks!

 

~Myrddann~

Link to comment
Share on other sites

thinking it may be time to change hosts. if it works one day and then it doesnt work the next AND you have not changed the configure.php file in any way . . .

Link to comment
Share on other sites

I have made changes to configure.php but that was sometime ago. Its weird, I check it every day and it can go weeks without this problem, then it will come up with that error. Is there a way I can restart it myself using KILL SESSION in MySQL ADMIN ? :blink:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...