SA-MP Forums Archive
How to reduce pool conections.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to reduce pool conections.. (/showthread.php?tid=501575)



How to reduce pool conections.. - DonBonanno - 19.03.2014

Hello..I have a roleplay server on mysql and i have a UCP (User Control Panel)..When i connect UCP with DATABASE don't work..(Unable to connect at "Database IP")..
I send a ticket at host and they tell me "configure it not to open more than 5 simultaneous connections (pool) to be able to login in phpmyadmin." So i need to reduce pool conections in gamemode to not open more than 5...
How can i make that ?


Re: How to reduce pool conections.. - DonBonanno - 19.03.2014

Anyone ? Please..SOrry for my bad english but i don't know what to don..i wanna reduce this pool conections to maximum 5..


Re: How to reduce pool conections.. - Knappen - 19.03.2014

https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_connect

Look at the last parameters. Default pool size is 2.