SA-MP Forums Archive
MySQL Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySQL Problem (/showthread.php?tid=269230)



MySQL Problem - Moras - 15.07.2011

I can not understand what the problem is?

Quote:

[19:54:14] CMySQLHandler::Query(SELECT * FROM `bans` WHERE `E_BANNAME` = 'Ross' LIMIT 1) - Successfully executed.

[19:54:14] >> mysql_num_rows( Connection handle: 1 )

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

[19:54:14] >> mysql_query( Connection handle: 1 )

[19:54:14] CMySQLHandler::Query(DELETE FROM `bans` WHERE `E_BANNAME` = 'Ross' LIMIT 1) - An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now)

[19:54:14] >> mysql_free_result( Connection handle: 1 )

[19:54:14] CMySQLHandler::FreeResult() - The result is already empty.

[19:54:38] >> mysql_query( Connection handle: 1 )

How to fix it?