SA-MP Forums Archive
what is connectionHandle in MySQL - 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: what is connectionHandle in MySQL (/showthread.php?tid=370618)



what is connectionHandle in MySQL - DartakousLien - 20.08.2012

well, i'm a beginner in MySQL. I have used SQLite, but now i wanna use MySQL, but i have one doubt. what is connectionHandle in MySQL? example
pawn Код:
mysql_function_query(connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:...);
what is connectionHandle and what is it for?


Re: what is connectionHandle in MySQL - TheArcher - 20.08.2012

The connection used for that query.

example:

new mysql = mysql_connect("127.0.0.1","root","mydatabase","myp ass");
mysql_function_query(mysql, "etc", etc, "etc", "etc", etc);


Re: what is connectionHandle in MySQL - DartakousLien - 20.08.2012

hmm, now i understand...finally xD
well....Thanks


Re: what is connectionHandle in MySQL - TheArcher - 21.08.2012

No problem . Feel free to ask me in PM or somewhere else about it