Mr. Maxilian Posted June 19, 2019 Share Posted June 19, 2019 Tell me, what is better: MySQL, SQLite or XML? (You need to save (and retrieve) many user settings) Link to comment
Dimos7 Posted June 19, 2019 Share Posted June 19, 2019 For me its mysql it easy to edit things there Link to comment
Scripting Moderators ds1-e Posted June 19, 2019 Scripting Moderators Share Posted June 19, 2019 4 hours ago, Mr. Maxilian said: Tell me, what is better: MySQL, SQLite or XML? (You need to save (and retrieve) many user settings) You might check this topic, if you are about to select XML or JSON. Link to comment
MTA Team 0xCiBeR Posted June 20, 2019 MTA Team Share Posted June 20, 2019 You could start by telling us what "many" is and how do you imagine using such settings. If its just on login, or do you plan to store data like levels, kills, etc. I wouldn't use XML for anything. Stick with SQLite or MySQL Link to comment
AƖι Posted June 20, 2019 Share Posted June 20, 2019 11 hours ago, Mr. Maxilian said: Tell me, what is better: MySQL, SQLite or XML? (You need to save (and retrieve) many user settings) My SQL Link to comment
Soapbosnia Posted June 20, 2019 Share Posted June 20, 2019 (edited) Depends on what you're storing. For example if you're storing player levels you could use a combination of element data and account data (Or instead use tables + mysql, get value from mysql and add it to Lua tables, then export a function to get a player's level from the table). If you're storing user credentials, then use mysql. Edited June 20, 2019 by Soapbosnia Link to comment
Mr. Maxilian Posted June 20, 2019 Author Share Posted June 20, 2019 ALL THANK! I will use MySQL) Link to comment
Investor Posted June 20, 2019 Share Posted June 20, 2019 XML is only useful for configurations which you want to be able to change through a normal text editor, but even for that case, JSON is probably faster and easier. SQL is best for pretty much anything else. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now