Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't connect to MySQL server


Guest

Recommended Posts

Ok, so Im trying out the shop, i had a couple of items in the cart... and the PC crashes!

 

now when i try to connect to the shop side of the site, i get the following message?

 

Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10061) in C:\Inetpub\vhosts\herbalhaze.co.uk\httpdocs\shop\includes\functions\database.php on line 19

Unable to connect to database server!

 

I have cleared out all cookies and stored data, rebooted etc... I cant even log onto admin screen, although it does ask for password etc.

 

Any advice?

Link to comment
Share on other sites

Damn... i think i see it in the question, root is coming from my C: drive? must have been from the last pic upload maybe?

hope this is the prob!

Link to comment
Share on other sites

Oh no... that will be the location on the server!?

 

still cant find the admin or shop...

 

has anyone else had similar probs?

ATB!

Link to comment
Share on other sites

It means your settings are not correct in your configure.php files .... or .... your hosts database server is down. If you can log into your hosts control panel see if you can find the Server Status part and make sure they are all working.

Link to comment
Share on other sites

Cheers for that!

 

I waited until the next day to look afresh and hey presto, back online!

so like you say, some server prob!

all the best!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...