Posts: 13
Threads: 1
Joined: Oct 2011
Reputation:
0
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.
Posts: 1,052
Threads: 46
Joined: Jan 2010
Reputation:
0
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
Posts: 484
Threads: 11
Joined: Oct 2012
Reputation:
0
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.
Posts: 340
Threads: 12
Joined: May 2011
Reputation:
0
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.
Posts: 48
Threads: 15
Joined: Nov 2017
Reputation:
0
Question for ******
Now if i have y_ini register system can player hack them or something like that
Posts: 1,506
Threads: 13
Joined: Jun 2015
Quote:
Originally Posted by Deken
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.
Posts: 1,773
Threads: 47
Joined: Jan 2015
Reputation:
0
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.