Is this thing possible ? I give rep++ (MYSQL)
#1

Is this thing possible?
I want to make 2 mysql connections in my gamemode , one with the samp-server database and one with the forum database.

like this:
pawn Код:
new static handlesamp;

new static handleforum;

#define mysql_host "127.0.0.1"
#define mysql_user "root"
#define mysql_password "password"
#define mysql_database "sa-mp"


#define mysql_host2 "127.0.0.1"
#define mysql_user2 "root"
#define mysql_password2 "passwordforum"
#mysql_database2 "forum"
Then connect each other.


Is this possible ? If i am wrong , how to do then?
Reply


Messages In This Thread
Is this thing possible ? I give rep++ (MYSQL) - by buburuzu19 - 10.06.2015, 05:11
Re: Is this thing possible ? I give rep++ (MYSQL) - by GTLS - 10.06.2015, 05:50
Re: Is this thing possible ? I give rep++ (MYSQL) - by Sawalha - 10.06.2015, 07:11
Re: Is this thing possible ? I give rep++ (MYSQL) - by Vince - 10.06.2015, 08:13
Re: Is this thing possible ? I give rep++ (MYSQL) - by buburuzu19 - 10.06.2015, 09:18
Re: Is this thing possible ? I give rep++ (MYSQL) - by buburuzu19 - 10.06.2015, 09:20

Forum Jump:


Users browsing this thread: 1 Guest(s)