Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Warning: mysql_connect


Recommended Posts

I have an store with oscommerce correctly installed and now I created a new store and sent a copy of the old store to the new domain, I created a DB importing the data from the old DB, I make the alterations in the config.php inside includes but when I try to enter the admin, I receive the warning message bellow:


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

Unable to connect to database server!


Any Tip?

Link to comment
Share on other sites


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

  • Create New...