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: MYSQL (
/showthread.php?tid=515490)
MYSQL -
cedizon - 26.05.2014
Once i have MYSQL Plugins to my Linux , it should be .so right?? then how to use it?
Re : MYSQL -
S4t3K - 26.05.2014
Open your server.cfg
Check the "plugins" line and add mysql.so
With the plugin, a file called a_mysql.inc is provided. Open your pawno folder, then the include folder which is inside and drop the a_mysql.inc file in the pawno\includes folder.
The includes provides you the natives functions of MySQL.
Here's the wiki of the functions (BlueG's plugin) :
https://sampwiki.blast.hk/wiki/MySQL/R33
Don't forget to add this just under #include <a_samp>
PHP код:
#include <a_mysql>
And you're ready to code !
Re: MYSQL -
cedizon - 27.05.2014
I did , all you said , now how can i use it?? where?? and how?
Re: MYSQL -
Sergei - 27.05.2014
First of all, you will need to learn SQL.