View Single Post
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 07-08-2021 , 09:06   MySQL connection loss leads to crashes
Reply With Quote #1

I have a plugin which connects to a remote MySQL server and makes queries.
It works fine as long as there is no connection problem. When something happens on the MySQL server or between the server and the game server and the plugin can't connect to the mysql server, the game server crashes.
In the crash stack at the crash moment something happens in dbi.mysql.ext.so and then the server's watchdog kills the server. How can I rewrite the plugin to avoid this crash in future?
Attached Files
File Type: sp Get Plugin or Get Source (testDB.sp - 156 views - 862 Bytes)
File Type: txt crashdmp.txt (9.3 KB, 66 views)

Last edited by kadet.89; 07-08-2021 at 09:07.
kadet.89 is offline
Send a message via Skype™ to kadet.89