Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mysql can't connect


industrialshields

Recommended Posts

Hi everyone,

 

My webhosting company went down for the past few days and when they came back up I got this on my site

 

"Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/neversc/public_html/includes/functions/database.php on line 19

Unable to connect to database server!"

 

 

I've checked my configure.php in the admin and catalog folders and everything is the same. Any help is appreciated!

Link to comment
Share on other sites

Hi everyone,

 

My webhosting company went down for the past few days and when they came back up I got this on my site

 

"Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/neversc/public_html/includes/functions/database.php on line 19

Unable to connect to database server!"

 

 

I've checked my configure.php in the admin and catalog folders and everything is the same. Any help is appreciated!

 

Could be that the mysql server needs restarting on your server.

 

Did you check with them.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...