Mysql vs Y_INI
#1

Hi, Can you guys tell me which one is the best? (MySql or Y_INI)
I am going to learn any 1 of them ...
Please do tell me which one is more usefull for scripting!
Reply
#2

If you are new to scripting, I would suggest Y_INI and use file based systems rather than databases. It will help you out a lot.
Reply
#3

MySQL better and faster to use because thats linking playerstats to the internet
YINI is easier to learn and just as fast as mysql and me result in u making less error and preferable for a beginner @ scripting

Learn YINI so u get a jiff of things and understand what u are doing in the world of scripting then learn MySQL cause its not gonna be easy because u will also need slight web knowledge when doing this because MySQL cannot run without the web, so if u was to have a server MySQL must be hooked up to the website or else server wont run so its your decision but i recommend using YINI and then learn MySQL
Reply
#4

Mysql. Why use y_ini to migratebto mysql later on?

Mysql is THE storage enigine, since it's easy to query bans, stats, players, other stuff. And the biggest pro is external connection for for example a website
Reply
#5

If you are new in scripting, start from Y_INI.
But i use always MySQL, because i can call values from my MySQL to my website.
Reply
#6

Sorry for bumping an old thread, but this question is mostly for ******, since i believe he has tested the speed difference.

Is MySQL actually faster than y_ini? For me that doesn't make any sense at all.
First of all, y_ini opens a LOCAL file, writes into it and saves it.
If i have understood anything about MySQL, it sends a packet to the mySQL server, the server processes the query and saves the information. Since you have to send the packet to mySQL, it would make sense that that would add more latency.
Reply
#7

Question for ******
Now if i have y_ini register system can player hack them or something like that
Reply
#8

Quote:
Originally Posted by Deken
View Post
Question for ******
Now if i have y_ini register system can player hack them or something like that
That depends on your code and how protected your VPS is.

Same goes for your MySQL code.
Reply
#9

This should not be a question, its pretty clear INI file system is meant for intializing not to be used as some sort of database. E.g. you can store server settings in your ini file and then parse them from the ini file into an array for runtime usage, when your gamemode starts.

MySQL on other hand, can be used as a user database, personal vehicles, etc. With better speed and ability to read/write/update multiple rows with complex condition statements.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)