MySQL connections - To use one or to use two connections?
#1

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?
Reply
#2

If using database from localhost, it should be fine with just 1.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)