Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lost connection to MySQL server during query

Status
Not open for further replies.

AlanArons

Programmer
Aug 1, 2002
91
US
I am getting this error message immediately after attempting to connect. If fact, I have not yet successfully connected to the mySQL database.

PHP 5.2.2 / mySQL 5.0.45

Anyone with thoughts on this

Alan Arons [ponder]
 
What error message are you getting?
And at least post you connect codes (Changing login info of course.)
 
Without knowing what systems you use, I can only do a wild guess. I got the same error message when I tried to connect to "localhost" on a linux system through an SSH tunnel.

What do you try to connect to and how? And how is the server set up?
 
The issue was indeed attempting to connect using "localhost". I am working through a webhost and needed a complete host name that they provided on request.

The error was, however, confusing since I didnt find any mention of this condition anywhere.

Thanks for all your input

Alan Arons [ponder]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top