Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MySQL Connection Problems when going to Admin area


Guest

Recommended Posts

Can anyone explain this error:

 

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/path on line 19

Unable to connect to database server!

 

 

Accessing the public area of the store is fine, but when I try to access the /admin/ dir, I get this error. Can anyone give me advice or suggestions? Thanks

 

Also, what is the proper CHMOD code to protect the configuration file? Thanks again.

Link to comment
Share on other sites

Problem solved. It must have slipped my mind that there are two config files...

 

I still need the proper CHMOD setting for the configuration files. Any ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...