Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error message: Unable to connect to database server!


gripking

Recommended Posts

I haven't changed anything. Everything was running perfect. Now all of a sudden I get the following error message just when I try to access my store.

 

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

Unable to connect to database server!

Link to comment
Share on other sites

is it your server?

 

is mysql still running correctly?

 

you could try restarting it.... y

 

 

you could also check your server error logs

 

 

can you login to mysql at command prompt?

with ten thousand dollars we'll all be millionaires

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...