MySQL vs File data saving & loading
#1

Hi. I'm wondering what the pro's and con's of mysql & file data saving & loading. Of course it's easier to manage data in MySQL, but I'm still wondering what would be best. I'd appreciate it if you would write some pro's and con's. Thanks
Reply
#2

We've had countless discussions about this subject and in the end it boils down to this: what data are you going to store and what are you going to do with it?
Reply
#3

I'm simply going to use it to store, load & save data for things like accounts, gates, factions, etc.
Reply
#4

MySQL is better than File Data.In MySQL you can do a lot of things like to check your account stats on your website.
Reply
#5

You can do that with files aswell.
Reply
#6

Quote:
Originally Posted by reckst4r
Посмотреть сообщение
You can do that with files aswell.
But it's much easier with MySQL.It's little bit hard to script but with more practice you will learn it
Reply
#7

It's not hard.
And this is not a discussion about how easy it is to print stats on websites, this is about loading & saving from PAWN & samp servers.
Reply
#8

Files are a good way for logging data and simple loading and saving systems for SA-MP
SQLite seems to be the best for simple loading and saving scripts for SA-MP.
MySQL is slower but is widely used by any program including web browsers.
Reply
#9

Alright. Thanks
Reply
#10

I would recommend using MySQL if you are planning to load a lot of data, as it's simple, as well as reliable. I haven't worked that much with files, so I can't say that much about it, but MySQL is easy to work with.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)