About databases
#1

Hey guys

I'm willing to create a user register/login database for a server I'm working on. I've seen that MySQL has become a thing now, I used to script some years ago and dini was all that was there. My question is which is better? MySQL seems more efficient but I can't really get used to it. However, dini looks so outdated. is y_ini a good choice? since it's easier and my experience in pawn isn't that big.

Any help would be appreciated ^^
Reply
#2

Hello there !
In my opinion DINI, YINI or something else than MySQL it's not a good choice.
DINI is old.. i don't say that is not so good but is old and YINI also.
Use MySQL if you want to do something good and better. I use MySQL from a time and it is so good.
At my first Gamemode i used DINI ( i never used YINI ) and
then i used SQLite because i like it, seems like MySQL but doesn't have a
Database that you can create a Panel.. just a simple Database that
saves in your scriptfiles folder. Conclusion: use MySQL.

But if you don't know MySQL use what you know to do. Is good that too.
Click on this if you want to learn something about it: https://sampforum.blast.hk/showthread.php?tid=129183
( sorry for my language ).
Reply
#3

You can do a lot more with MySQL or SQLite. Also if you want to make an UCP then MySQL is a good thing. I was using dini2 all the time, but a few weeks ago I had to move on to MySQL because I realized that there are many things I need to do that weren't possible with ini files. I thought ini is easier, but MySQL is really easy as well because you don't need to know too much about MySQL if you want to make a gamemode. Basically all you need to know is how to load something from the database and how to update something and maybe some other things if you are making something bigger, but these are the basic things you need to know in my opinion. However, if you are making a small gamemode or a small filterscript where you don't need to save too much data, then in my opinion it's better to use ini. So I'd say you should use MySQL or SQLite, but it's your choice. if you want to use ini then I suggest you using y_ini by ****** or dini2 by Gammix.
Reply
#4

Use Y_INI if you don't need any special fancy stuff (like a list of players with top score of all time, list of 5 last bans, etc.). Go with MySQL or SQLite otherwise.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)