Thread
:
How to build reliable MySQL connection on server start?
View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
01-10-2020 , 10:54 Re: How to build reliable MySQL connection on server start?
#
6
Quote:
Originally Posted by
Ilusion9
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
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
View Public Profile
Send a private message to Dragokas
Visit Dragokas's homepage!
Find More Posts by Dragokas