Mikey wrote:
Saying that tho, i'm sure it would be far simpler to go from MSSQL to MySQL
|
You would've thought so, I did too. However it's not actually that simple. I've just installed MySQL 4.1 to learn it as a) I want to check my add-on code works in all databases and b) it'll save me £100 a year on server costs if I use MySQL vs MSSQL.
My first effort revolved round using DTS to convert straight into MySQL. Four tables failed - tblAuthor, tblTopic, tblThread and tblForum. Nothing importnat there then...

I then exported the failed tables from MSSQL to text tiles and used the MySQL console to LOAD FILE them in. This seemed to work, but even then I found errors. Not all the dates came in and the boolean True values were set to 1, but WWF uses the old MySQL 3.x value of -1 for boolean True rather than the new v4.1 onwards standard. The latter is an easy fix in the database config file.
Currently it sort of works, but when displaying a Topic, a lot of the author details are missing and the message itself doesn't show so there is still something I haven't cracked yet. The info is in the MySQL tables, looks absolutely fine, but won't show properly. Hmmmmmm.