Lost connection to MySQL server at '...'

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Re: Lost connection to MySQL server at '...'

Postby kamild1996 » 09. January 2012 14:59

Bump, I really need this, help!
I speak English very poorly, sorry!
kamild1996
 
Posts: 11
Joined: 08. January 2012 19:47
Operating System: Windows XP

Re: Lost connection to MySQL server at '...'

Postby JonB » 09. January 2012 15:21

You should check with your hosting service, many use tools/scripts to prevent external database connections (in both directions). This is particularly true on shared hosting plans.

good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Lost connection to MySQL server at '...'

Postby kamild1996 » 09. January 2012 16:57

JonB wrote:You should check with your hosting service, many use tools/scripts to prevent external database connections (in both directions). This is particularly true on shared hosting plans.

good Luck
8)

But this script are prepared to use XAMPP database, not database from hosting service...
I speak English very poorly, sorry!
kamild1996
 
Posts: 11
Joined: 08. January 2012 19:47
Operating System: Windows XP

Re: Lost connection to MySQL server at '...'

Postby JonB » 09. January 2012 17:36

I put PHP script (which is using my database) in my site (not in my PC - I bought a WWW hosting)


now - to ME only - that would be an outbound request from a hosted website to a remote (on our pc) database connection. But I might also not know anything.

Question - does it run ON when run on your local XAMPP box ???

If yes - I would say - this is what I described. You need to see if the problem is caused by a policy or setting at the hosting company. (and if the answer is 'yes' also this is not an XAMPP issue).

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Lost connection to MySQL server at '...'

Postby kamild1996 » 09. January 2012 18:13

From the beginning.
I have a database located/hosted in my PC with XAMPP.
I have a website bought on one of hosting services.
I have a script that uses a database located/hosted in my PC with XAMPP.
I put this script in a website bought on one of hosting services.
I speak English very poorly, sorry!
kamild1996
 
Posts: 11
Joined: 08. January 2012 19:47
Operating System: Windows XP

Re: Lost connection to MySQL server at '...'

Postby JonB » 09. January 2012 19:54

I got it - I got it the first time too -

"I put this script in a website bought on one of hosting services."

Does it (your script) work when you host it on XAMPP???

If "yes" then see the answer I have now posted three times...

if 'no', my script does not work on localhost, then we will try to help you.

What don't you get here??? We aren't in the position to figure out why a script on a hosted website is not working, period... We only support XAMPP on localhost or your local network - and - XAMPP is not for production environments.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Previous

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 88 guests