Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Admin Error Message Please HELP PLEASE


Recommended Posts

I have OsCommerce 2.2rc2 My store front works. but when I attempt to log in to admin side I get the Following error message



Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/r/o/b/rob0362/html/oscommerce/catalog/admin/includes/functions/database.php on line 19

Unable to connect to database server!


I have no idea how to fix this please Help I am ata point that is this does not work I will be forced to start over and I have over 1000 items to put in. Please Help I know it is a configuration issue but I have no Idea where the issue lies.



Link to comment
Share on other sites

Check the values in admin/includes/configure.php and includes/configure.php for the db are the same in both files.





Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile


Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.


For links mentioned in old answers that are no longer here follow this link Useful Threads.


If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites


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

  • Create New...