Move to MySql

Posts   
 
   
 
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 07-May-2008 11:27:55   

Hi Guys,

Is it easy to migrate a SqlServer 2005 database to MySql? Has anyone done this? Have any suggestions?

Cheers,

Pete

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 07-May-2008 11:46:45   

The schema should be identical, and then you'll have to regenerate the code against the MySQL database.

Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 07-May-2008 15:43:56   

Thanks Walaa,

Is there an easy way to port the schema over? I heard mention of some llblgen ddl scripts - would these do the job?

Cheers,

Pe

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 07-May-2008 16:11:44   

Yes these are the **DDL SQL templates **. You can found them in the Tasks and Temnplates section of v.2.5 or v.2.0 download page.

Posts: 1255
Joined: 10-Mar-2006
# Posted on: 07-May-2008 20:51:22   

You can download from MySql a database migration tool which will do it for you. Beware of some 'basic' things which are not present in MySql.

1) No concept of a default value. For example, you cannot have GetDate() as the default value for a DateCreated column. (To recreate this functionality, you will have to do it in a trigger) 2) While it has the ability to specify constraints (foreign keys, etc), it does NOT ENFORCE them. Sort of like removing the police from the roads! 3) All your stored procs and triggers will have to be rewritten.