[HELP NEEDED] Converting Dini into MySQL Database
#1

[SOLVED]
Reply
#2

This tool allows you to convert ini files to a large sql dump.
https://sampforum.blast.hk/showthread.php?tid=245893

You still have to do the coding manually.
If the application above doesn't help you for any reason (ex. the way you save your data in multiple files or whatsoever) you can create a simple that would load the data from the ini files and store them in an array, then just save the previously loaded data in a sql database.

The basic methodology would be:
"load data using the ini method, storing it in an array"
"save data using the sql method"

When all your data is converted to a sql database by doing this, you just have to change the loading code to load the actual sql information, not the old ini information.

There's no magic application that can convert your code & your database regardless how both work, you have to do the work by yourself.
Reply
#3

Quote:
Originally Posted by admantis
Посмотреть сообщение
This tool allows you to convert ini files to a large sql dump.
https://sampforum.blast.hk/showthread.php?tid=245893

You still have to do the coding manually.
If the application above doesn't help you for any reason (ex. the way you save your data in multiple files or whatsoever) you can create a simple that would load the data from the ini files and store them in an array, then just save the previously loaded data in a sql database.

The basic methodology would be:
"load data using the ini method, storing it in an array"
"save data using the sql method"

When all your data is converted to a sql database by doing this, you just have to change the loading code to load the actual sql information, not the old ini information.

There's no magic application that can convert your code & your database regardless how both work, you have to do the work by yourself.
This much I understand, but could you guide me to any tutorials as to how to use all this to convert my dini files?
I would really hate to ruin this script trying, without a clue as to what to do..
Reply
#4

You basically need to learn how to use MySQL and the differences between how a file-system stores/retrieves data, and how a MySQL system stores/retrieves data.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)