This topic is locked

Lost connection to MySQL server during query

5/7/2008 6:25:08 PM
PHPRunner General questions
T
tyguy author

Hey guys,
I am been tweaking around with PHPRunner and I have recieved an error.
PHP error happened
Technical information

Error type 2

Error description mysql_connect(): Lost connection to MySQL server during query

URL mysite.com/index.php?

Error file /include/dbconnection.php

Error line 9

SQL query
it seems to me that it is a server error (yahoo server). What is weird is it work sometimes, and other times it does work.

W
williamfsg 5/8/2008

Just got started on a 21 day trial and I am already having problem. I get this error messages.

"530 Login authentication failed[quote name='tyguy' date='May 7 2008, 11:25 PM' post='28962']"
I think I got the information to logon correct but it keeps coming back with the same error message. Any help is greatly appreciated.

J
Jane 5/8/2008

tyguy,
it's hard to tell you what's wrong.

Try to turn on debug mode in the include/dbcommon.php file, print your SQL query and execute it directly in the database (use any MySQL administrative tools for that). If error will occur contact your hosting support.
Also you can publish and test your application on the Demo Acount (last tab in the PHPRunner).
william,
this error means your hosting is password-protected. Contact admin of your hosting with this error.

T
tyguy author 5/8/2008

tyguy,

it's hard to tell you what's wrong.

Try to turn on debug mode in the include/dbcommon.php file, print your SQL query and execute it directly in the database (use any MySQL administrative tools for that). If error will occur contact your hosting support.
Also you can publish and test your application on the Demo Acount (last tab in the PHPRunner).
william,
this error means your hosting is password-protected. Contact admin of your hosting with this error.


Hi William,
I will try to debug it. What is interesting is 9 times out of ten the site loads correctly. Which leads me to think it is the server and not the code. I am not really experienced with PHP and databases, however seeing that the code nor files have changed, it is more likely my host. Does this provide anymore insight?
TY