Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New installation - Error Line 19


aditogs

Recommended Posts

Posted

Hi.

 

Newbie, just installed.

 

Error:

 

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

Unable to connect to database server!

 

Ideas?

 

Thanks

Posted

Check in both of your configure.php files to make sure that you have the correct db_server address plus MySQL Password, User Name, and Database Name.

 

Vger

Posted
Check in both of your configure.php files to make sure that you have the correct db_server address plus MySQL Password, User Name, and Database Name.

 

What Vger says, but in particular, check with your host to find the correct server name for your MySQL database. I've only ever seen this error to mean either the server was down or you're trying to connect to a non-existant server (ie - you have the server name wrong).

Contributions

 

Discount Coupon Codes

Donations

Archived

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

×
×
  • Create New...