Server error when closing - 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: Server error when closing (
/showthread.php?tid=326572)
Server error when closing -
Skribblez - 17.03.2012
After installing MySQL for the server, this started to happen.
It happens everytime I close the samp-server.exe application.
Re: Server error when closing -
ColorHost-Kevin - 17.03.2012
This is odd, did you try reinstalling MYSQL and everything to see if this error happen then?
Re: Server error when closing -
Skribblez - 17.03.2012
Quote:
Originally Posted by ColorHost-Kevin
This is odd, did you try reinstalling MYSQL and everything to see if this error happen then?
|
Haven't tried that yet, I will though.
EDIT: I tried to uninstall the MySQL plugin (a_mysql, libmysql.dll) and it worked fine. But when I placed these files back in place, it started to happen again. Any suggestions that might help?
Re: Server error when closing -
Skribblez - 18.03.2012
bump
Re: Server error when closing -
Virtual1ty - 18.03.2012
Do you use mysql_close() under OnGameModeInit? If you don't then there's your problem.
Edit: Yeah, under OnGameModeExit, did a little typo there, what matters is that you understood it.
Re: Server error when closing -
Skribblez - 18.03.2012
Finally, that fixed it. Thank you, got a reputation point from me.
But I'm wondering, shouldn't that be placed under OnGameModeExit?