mysql problem
#1

So... I created db tables for my mysql script, but when i turn it on it shows this:
Quote:

[14:29:52] CMySQLHandler::Connect() - Connection was successful.

[14:29:52] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.

[14:30:28] >> mysql_real_escape_string( Connection handle: 1 )

[14:30:28] CMySQLHandler::EscapeString(George_Gee); - Escaped 10 characters to George_Gee.

[14:30:28] >> mysql_query( Connection handle: 1 )

[14:30:28] CMySQLHandler::Query(SELECT * FROM `Accounts` WHERE `Username` = 'George_Gee' LIMIT 1) - An error has occured. (Error ID: 2013, Lost connection to MySQL server during query)

[14:30:28] >> mysql_store_result( Connection handle: 1 )

[14:30:28] CMySQLHandler::StoreResult() - No data to store.

[14:30:28] >> mysql_num_rows( Connection handle: 1 )

[14:30:28] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[14:30:28] >> mysql_free_result( Connection handle: 1 )

Help me please, sorry for bad english
Reply
#2

Is that database hosted on localhost ?
Reply
#3

I bought a host from one website.
Reply
#4

Quote:

Error ID: 2006, MySQL server has gone away

Always this error.
Reply
#5

Can someone help me please?
Reply
#6

The reason is probably one of the following

- Someone KILLed the query
- Network problems caused the connection to die
- The server crashed/died
- Your connection was idle for wait_timeout and was killed
- The client wasn't pulling data fast enough for net_wait_timeout and was killed
Reply
#7

Then how can i change wait_timeout?
Reply
#8

bump. Please help me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)