SA-MP Forums Archive
[WARNING] CMySQLConnection::Disconnect - no connection available - 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: [WARNING] CMySQLConnection::Disconnect - no connection available (/showthread.php?tid=597332)



[WARNING] CMySQLConnection::Disconnect - no connection available - CrazyChoco - 29.12.2015

Hello. When I type "exit" from the SA-MP console I get this in my mysql_log.txt

Quote:

[21:06:16] [WARNING] CMySQLConnection::Disconnect - no connection available

But if i close it by pressing X it's not caused. Any ideas why and how to prevent it? I manily use 'exit' rather than clicking 'X'


Re: [WARNING] CMySQLConnection::Disconnect - no connection available - SickAttack - 29.12.2015

What's the problem with that coming up? You're closing the server by entering "exit" on the command console, here. It is a "normal" thing.


Re: [WARNING] CMySQLConnection::Disconnect - no connection available - CrazyChoco - 29.12.2015

Yeah I know. But why give me that warning, when nothing happends if I press "X"?

And it's pretty annoying as I'm used to work with a server directory, where there ain't any mysql_log.txt. I only enable it when i throw my server out for the public.