Posts: 16
Threads: 4
Joined: May 2012
Reputation:
0
How can i move from ini to mySQL ,thanks in advance..a tutorial or something?
Posts: 2,799
Threads: 95
Joined: Jun 2006
Reputation:
0
I have to do the same, and I intend to do so by writing a 'conversion script' (filterscript) that looks for "converted = 1" in their ini file. If it doesn't see it, it will move all the info from the ini to the mysql DB and then add "converted = 1" to their ini. It will convert on the fly when the player logs in. When they log in a second time, it won't convert them again because now they'll have 'converted = 1' in their ini file. When it sees that, the script will know to use mysql for them instead of ini
I intend to leave this system in place for 6 months or so. Anyone who hasn't logged in for 6 months will be out of luck and will have to start over with a fresh account in mysql
Thats my plan anyways.
EDIT: OR I'll use the script StuartD linked to hahaha