View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-10-2020 , 10:54   Re: How to build reliable MySQL connection on server start?
Reply With Quote #6

Quote:
Originally Posted by Ilusion9 View Post
Connect to the database when the plugin starts and save the db globally.
I see no difference to expected result if I will connect to DB on plugin start instead of OnConfigsExecuted.

Quote:
Originally Posted by Ilusion9 View Post
If you lose connection, there's no need to reconnect.
Why?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline