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.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.