I need to migrate a fairly large forum installation from one system (custom, MS SQLServer) to another (vbulletin, MySQL). The target system has a number of different import scripts that I plan on looking at to get ideas from, but I'm hoping that I can get some recommendations here on some of the aspects of it.
Worth noting are:
The things things that I think might cause problems include:
My current thought is to do something like:
old_user_id
column to the new database user table old_user_id -> new_user_id
mapping in the user table My apologies for such an open ended question. There's a lot of factors involved, and it really isn't something I have specific questions on yet. I'm really just looking for any thoughts/suggestions from folks that may have had to handle something similar in the past. Any ideas on the best way to handle things, things I'm missing, or edge cases I should pay attention to.
Edit: I can't figure out how to make this a wiki. If someone can convert it for me or tell me how, I'd be happy to do so. It obviously doesn't have a single, correct answer, so it probably should be marked as such.
Can PHP talk to SQLServer? Yes link here
The first thing you'd have to do is compare the data structure of your database versus the CMS you will be using, then you can determine which fields can be changed, altered and such.
I assume you would dump the entire sql, mostly, it would take you a search and replace for changing datatypes or table names for better compatibility when importing.
Also, you might want to check out http://php.net/manual/en/book.mssql.php regarding your php vs mssql question. That could save you a lot of trouble.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.