I try to to convert a existing umbraco site from msSql to MySql, but I got several SQL syntax error when I use MySql Migration ToolKit.
The columns I get trouble with is
cmsDocument
cmsTask
umbracoStylesheetProperty
umbracoUser
cmsDocumentTyep
cmsMemberType
umbracoStatSession
umbracoNode
cmsPropertyType
cmsMacroProperty
cmsMacro
umbracoAppTree
For example i got this error message for cmsDocument:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0),
PRIMARY KEY (`versionId`),
CONSTRAINT `FK_cmsDocument_umbracoNode` FO' at line 12
And this for cmsTask
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0), `id` INT(10) NOT NULL AUTO_INCREMENT, `taskTypeId` TINYINT(3) NOT NUL' at line 2
Any suggestion what I can do to solv this problem?
I use umbraco 4, asp.net 2.0 and MySql server v5.4 on localhost.
I think I have the correct datalayer keyword, I´m at work so I can´t check right now, but I can login to umbraco but all my content, xslt-files and so on are gone. I used the install guide to change database from msSQL to MySql, and I have no problem to change database from msSQL to MySql but I think my problem is when I use the MySql ToolKit to convert the existing SQL-database to MySQL and I get these errors.
Because I use a exsisting umbraco project, that works great with msSQL, I suppose that I have all the file in the file structure but the problem is in the database.
Sry for my bad english, but I hope you understand what I mean.
Problem with converting msSQL to MySql
Hi,
I try to to convert a existing umbraco site from msSql to MySql, but I got several SQL syntax error when I use MySql Migration ToolKit.
The columns I get trouble with is
For example i got this error message for cmsDocument:
And this for cmsTask
Any suggestion what I can do to solv this problem?
I use umbraco 4, asp.net 2.0 and MySql server v5.4 on localhost.
Best regards Jonas
Jonas -
Verify you have the correct datalayer keyword in your connection string so umbraco knows you're using MySQL:
-Paul
I think I have the correct datalayer keyword, I´m at work so I can´t check right now, but I can login to umbraco but all my content, xslt-files and so on are gone. I used the install guide to change database from msSQL to MySql, and I have no problem to change database from msSQL to MySql but I think my problem is when I use the MySql ToolKit to convert the existing SQL-database to MySQL and I get these errors.
Because I use a exsisting umbraco project, that works great with msSQL, I suppose that I have all the file in the file structure but the problem is in the database.
Sry for my bad english, but I hope you understand what I mean.
/Jonas
I experienced this problem and got around it by doing the following:
Hope this helps
Thomas
I have updated the above after looking at the migration toolkit again:
closed
TINYINT NOT NULL DEFAULT (0), becomesclosed
TINYINT NOT NULL DEFAULT 0,Thomas
Just so you know this worked great for me when i encountered the same problem.
however i'm now encountering the problem described at..
http://our.umbraco.org/forum/getting-started/installing-umbraco/23323-Server-Error-on-Umbraco-login
any help would be appreciated
is working on a reply...