Jump to content

Can't connect to MySQL server on 'localhost' (10061) On Subfolders


dprichard

Recommended Posts

Okay, I have one of those weird issues where everything works on our test server, but when we upload it to the client's box it stops working.  I have the connection script in an include and use the same one for all pages.  On the main folder I use the config.php and in the sub folders I ../config.  This works fine on my test box but the client's server give me a Can't connect to MySQL server on 'localhost' (10061) error on the pages in the sub folder.  The weirdest part is the database it is pointing to is not on the localhost, but on a box called mysql6. 

 

I am totally lost on this.  Any thoughts or suggestions would be greatly appreciated.  It is a php5 mysql 5 box.

 

 

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.