SA-MP Forums Archive
Turning from MySQL to SQLITE (HELP) - 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: Turning from MySQL to SQLITE (HELP) (/showthread.php?tid=413121)



Turning from MySQL to SQLITE (HELP) - Saadat - 04.02.2013

I have a server, it is set to MySQL Database, I want to change it to SQLITE, how do I add a SQLITE server to the script. And where can I get the SQLITE DB? Any help you provide will be very helpful, please help


Re: Turning from MySQL to SQLITE (HELP) - Gamer_Z - 04.02.2013

Quote:
Originally Posted by Saadat
Посмотреть сообщение
I have a server, it is set to MySQL Database, I want to change it to SQLITE, how do I add a SQLITE server to the script. And where can I get the SQLITE DB? Any help you provide will be very helpful, please help
SQLITE functions are native functions in the SA-MP server which you can use:
https://sampwiki.blast.hk/wiki/SQLite

Find the corresponding functions and modify the mysql functions to the sqlite equivalents.
Also keep in mind that sqlite has sometimes other syntax than mysql systems.


Re: Turning from MySQL to SQLITE (HELP) - Saadat - 04.02.2013

ok thx