AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   persistent mysql connection (https://forums.alliedmods.net/showthread.php?t=56087)

XyXEL 06-06-2007 11:47

persistent mysql connection
 
how to make a persistent mysql connection using sqlx ?

does it work if i only use
PHP Code:

SQL_FreeHandle(SqlConnection

on
PHP Code:

public plugin_end() 


slmclarengt 06-06-2007 12:47

Re: persistent mysql connection
 
Quote:

Originally Posted by XyXEL (Post 486320)
how to make a persistent mysql connection using sqlx ?

does it work if i only use
PHP Code:

SQL_FreeHandle(SqlConnection

on
PHP Code:

public plugin_end() 


Bailopan answered a similar question: http://forums.alliedmods.net/showthr...ersistent+SQLx

IF and ONLY IF I understand correctly, your code would probably result in possible loss of refresh due to idle time if queries aren't sent consistently. However, it's early, I haven't eaten breakfast and probably should read up on MySQL again, so don't take my word for much :-).

Slmclarengt


All times are GMT -4. The time now is 10:36.

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