Hero192 Posted August 5, 2015 Share Posted August 5, 2015 Please i want to know which one is good for saving stuffs in database , MySQL , SQL , Sqlite or db.internal, and how to create this database / file..etc please im new on that inform me with details, thanks Link to comment
iMr.SFA7 Posted August 5, 2015 Share Posted August 5, 2015 SQLite Best viewtopic.php?f=148&t=38203 Link to comment
LabiVila Posted August 5, 2015 Share Posted August 5, 2015 Hey, sure databases are very useful, and MySQL is better than Sqlite, even tho I find Sqlite much easier, db.internal shouldn't even be considered if you have a clue about sqlite or mysql. And as for databases, there's quite some stuff you need to read, as always, you should read first: https://wiki.multitheftauto.com/wiki/DbConnect then you can continue in this very well explained toturial: viewtopic.php?f=148&t=38203 there are some even mroe detailed explanations between mysql and sqlite; https://forum.multitheftauto.com/viewtopic.php?f=91&t=61603 Link to comment
GTX Posted August 5, 2015 Share Posted August 5, 2015 I would mostly prefer MySQL rather than SQLite or internal SQLite. But there are many other easier ways like saving to account data (If it's player related). There is also XML, which is easier than SQL and practically same, but only downside is that it is saved on disk and if storing a lot of data, it can be a problem. Link to comment
Dealman Posted August 5, 2015 Share Posted August 5, 2015 I would mostly prefer MySQL rather than SQLite or internal SQLite. But there are many other easier ways like saving to account data (If it's player related). There is also XML, which is easier than SQL and practically same, but only downside is that it is saved on disk and if storing a lot of data, it can be a problem. Basically this, also another downside of XML is that it can become rather slow. Whereas MySQL or SQLite if used properly should be extremely fast and efficient. Personally I prefer MySQL, but both get the job done. 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