Joget DX 8 Beta Released
The beta release for Joget DX 8 is now available, with a focus on UX and Governance.
This post will explain how to run joget on MSSQL and migrate the existing schema and data from mysql to mssql 2005, step-by-step.
1. To run joget on MSSQL 2005, you can refer to this post : การตั้งค่าสำหรับ MS SQL Server 2005
2. Once you have it running, import your existing joget application.
Till this point, all is pretty much straightforward. Now the issue arises on how to import the existing schema and existing data from mysql to mssql 2005. Here, I am referring to a few existing tables in my joget application and the data which I would like to migrate to MSSQL and have running properly, without any errors.
To do the migration, we have to use some third party tools, the most commonly used of which is the ESF Database Migration Toolkit. This tool is free to use, but it will append certain prefix/postfix to data.
After searching Google, what I found is that On August 12, 2010, Microsoft made available the first version of a tool designed to help customers migrate from MySQL to SQL Server and/or SQL Azure.
The MySQL migration tool is part of the SQL Server Migration Assistant (SSMA) tookit family. Microsoft delivers database migration tool for Oracle to MSSQL, SYBASE to MSSQL, MySql to MSSQL and MS Access to MSSQL.
In our case, it is MySql to MSSQL.
1. Dowbload the Microsoft SQL Server Migration Assistant for MySQL from Microsoft SQL Server Migration Assistant for MySQL v5.2.
2. We also need to download the Standardized database driver for Windows, Linux, Mac OS X, and Unix platforms.
Once you have downloaded and installed both of them, launch the SSMA tool.
This tool can do wonders. It allows to migrate the schema, or you can select certain tables. The same goes for data migration for whole scheme or certain tables. It generates the reports before performing the migration and tells you the summary for what it can migrate and what it can't migrate, and also post migration reports telling us how well the migration went. Below is the screenshot of the tool.
Now, how to use this tool to perform the migration is an easy step-by-step process. You can watch the videos here: