Raised This Month: $51 Target: $400
 12% 

MySQL connection loss leads to crashes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 - 159 views - 862 Bytes)
File Type: txt crashdmp.txt (9.3 KB, 68 views)

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



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode