SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 20/08/2012, 05:51 PM   #1
DartakousLien
High-roller
 
DartakousLien's Avatar
 
Join Date: Jan 2010
Location: Portugal
Posts: 1,149
Reputation: 87
Default what is connectionHandle in MySQL

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 Code:
mysql_function_query(connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:...);

what is connectionHandle and what is it for?
__________________
Github : Procurando interessados em participar em projetos comigo.
Visite também o meu portfólio
DartakousLien is offline   Reply With Quote
Old 20/08/2012, 05:53 PM   #2
TheArcher
High-roller
 
TheArcher's Avatar
 
Join Date: Dec 2009
Location: Home
Posts: 2,338
Reputation: 251
Default Re: what is connectionHandle in MySQL

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);
__________________
TheArcher is offline   Reply With Quote
Old 20/08/2012, 05:59 PM   #3
DartakousLien
High-roller
 
DartakousLien's Avatar
 
Join Date: Jan 2010
Location: Portugal
Posts: 1,149
Reputation: 87
Default Re: what is connectionHandle in MySQL

hmm, now i understand...finally xD
well....Thanks
__________________
Github : Procurando interessados em participar em projetos comigo.
Visite também o meu portfólio
DartakousLien is offline   Reply With Quote
Old 21/08/2012, 08:38 AM   #4
TheArcher
High-roller
 
TheArcher's Avatar
 
Join Date: Dec 2009
Location: Home
Posts: 2,338
Reputation: 251
Default Re: what is connectionHandle in MySQL

No problem . Feel free to ask me in PM or somewhere else about it
__________________
TheArcher is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] MySQL DB Manager - Easily manage your MySQL databases with this remote application fiki574 Tools and Files 13 22/07/2012 09:41 AM
Gang System MySQL StrickenKid to MySQL GStylezzz nGen.SoNNy Scripting Help 2 02/05/2012 03:37 PM
Can't connect to local MySQL server through socket '/tmp/mysql.sock' Ivan_Pantovic Help Archive 4 03/08/2011 01:50 PM
Mysql Move a record? (Mysql/pawn Question) DarrenReeder Help Archive 4 05/11/2010 07:23 PM


All times are GMT. The time now is 11:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.