SA-MP Forums Archive
sql error (Reason: Dead Connection) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: sql error (Reason: Dead Connection) (/showthread.php?tid=505279)



sql error (Reason: Dead Connection) - rutger188 - 07.04.2014

Hey what's wrong
Dead connection after 5 minutes

I have read debug get out
to this I add it here to
I hope maybe someone knows what is wrong
thanks

Quote:

[21:03:24] >> mysql_query( Connection handle: 1 )

[21:03:24] CMySQLHandler::Query(SELECT * FROM banned WHERE IP = '127.0.0.1') - An error has occured. (Error ID: 2013, Lost connection to MySQL server during query)

[21:03:24] >> mysql_store_result( Connection handle: 1 )

[21:03:24] CMySQLHandler::StoreResult() - No data to store.

[21:03:24] >> mysql_num_rows( Connection handle: 1 )

[21:03:24] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[21:09:59] >> mysql_query( Connection handle: 1 )

[21:09:59] CMySQLHandler::Query(SELECT * FROM banned WHERE IP = '127.0.0.1') - Successfully executed.

[21:09:59] >> mysql_store_result( Connection handle: 1 )

[21:09:59] CMySQLHandler::StoreResult() - Result was stored.

[21:09:59] >> mysql_num_rows( Connection handle: 1 )

[21:09:59] CMySQLHandler::NumRows() - Returned 0 row(s)

[21:09:59] >> mysql_query( Connection handle: 1 )

[21:09:59] CMySQLHandler::Query(SELECT * FROM playerdata WHERE UserName = 'klaas') - Successfully executed.

[21:09:59] >> mysql_store_result( Connection handle: 1 )

[21:09:59] CMySQLHandler::StoreResult() - Result was stored.

[21:09:59] >> mysql_num_rows( Connection handle: 1 )

[21:09:59] CMySQLHandler::NumRows() - Returned 0 row(s)

[21:09:59] >> mysql_free_result( Connection handle: 1 )

[21:09:59] CMySQLHandler::FreeResult() - Result was successfully free'd.

[21:11:40] >> mysql_query( Connection handle: 1 )

[21:11:40] CMySQLHandler::Query(SELECT * FROM banned WHERE IP = '127.0.0.1') - An error has occured. (Error ID: 2013, Lost connection to MySQL server during query)

[21:11:40] >> mysql_store_result( Connection handle: 1 )

[21:11:40] CMySQLHandler::StoreResult() - No data to store.

[21:11:40] >> mysql_num_rows( Connection handle: 1 )

[21:11:40] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[21:25:24] >> mysql_query( Connection handle: 1 )

[21:25:24] CMySQLHandler::Query(SELECT * FROM banned WHERE IP = '127.0.0.1') - Successfully executed.

[21:25:24] >> mysql_store_result( Connection handle: 1 )

[21:25:24] CMySQLHandler::StoreResult() - Result was stored.

[21:25:24] >> mysql_num_rows( Connection handle: 1 )

[21:25:24] CMySQLHandler::NumRows() - Returned 0 row(s)

[21:25:24] >> mysql_query( Connection handle: 1 )

[21:25:24] CMySQLHandler::Query(SELECT * FROM playerdata WHERE UserName = 'rutger') - Successfully executed.

[21:25:25] >> mysql_store_result( Connection handle: 1 )

[21:25:25] CMySQLHandler::StoreResult() - Result was stored.

[21:25:25] >> mysql_num_rows( Connection handle: 1 )

[21:25:25] CMySQLHandler::NumRows() - Returned 0 row(s)

[21:25:25] >> mysql_free_result( Connection handle: 1 )

[21:25:25] CMySQLHandler::FreeResult() - Result was successfully free'd.

[21:27:19] >> mysql_query( Connection handle: 1 )

[21:27:19] CMySQLHandler::Query(SELECT * FROM banned WHERE IP = '127.0.0.1') - An error has occured. (Error ID: 2013, Lost connection to MySQL server during query)

[21:27:19] >> mysql_store_result( Connection handle: 1 )

[21:27:19] CMySQLHandler::StoreResult() - No data to store.

[21:27:19] >> mysql_num_rows( Connection handle: 1 )

[21:27:19] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)