Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help!! Can't access admin!


jonsimons

Recommended Posts

Hi,

 

I have just installed this great program - can't wait to get it totally up and running..

 

I thought I was there - but when I tried to access the admin file I got an error message!!!!

 

The error was:

 

Warning: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /homepages/21/d69142426/htdocs/catalog/admin/includes/functions/database.php on line 19

 

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /homepages/21/d69142426/htdocs/catalog/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

 

PLEASE PLEASE could someone help me with this? Did I install it wrong?

 

Thanks

Link to comment
Share on other sites

Just to confirm, you installed by following the following steps:

 

1. Copy the files to the web server.

 

2. Make an empty database and a user for it.

 

3. Connecting to the web install and following the prompts.

 

And everything worked fine with that, so you clicked on the admin link it provides and got the error. If you go to catalog, things are working.

 

If that is not true, go back and do the install that way. Install documentation. If it is true, try this: If your DB_SERVER setting is set to localhost, try changing it to 127.0.0.1

 

Hth,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...