Posts: 1,429
Threads: 50
Joined: Feb 2009
Reputation:
0
I don't know is it better to use 2 connections for MySQL or just one. I mean, one for SELECT queries and one for INSERT queries. I've read somewhere that is better to use 2 connections, but I'm not sure that there is a need for that in SA-MP. What do you think?
Posts: 18
Threads: 1
Joined: Aug 2011
Reputation:
0
If using database from localhost, it should be fine with just 1.
Posts: 2,629
Threads: 40
Joined: Mar 2008
Reputation:
0
You could use the same connections for SELECT and INSERT but you can use a separate connection for DELETE queries. DELETE queries are hardly even used, so it's not really needed.