Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I can't log in to administrator page


baedesign

Recommended Posts

Since I lost my site due to unknonw reason, I can't get into admin page as well.

I have this error message.

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/h/e/r/herballandinc/html/eshop/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

I DID NOT do anything wrong to the database.

All I did was uploaded incorrect header file and all this happened.

 

What can I do from here?

Link to comment
Share on other sites

Check your /catalog/includes/configure.php file and at the bottom make sure the database settings are correct (if you don't know them speak to your hosting provider)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...