Tutorial Videos Technical Support Data Migration Guide Release Notes Tips & Best Practices Federated Data Source Configuration SQL/REST PDF Generation
Books & Presentations
If you have an existing database that you want to migrate to AppSynergy, this guide is for you. If you require ongoing read/write integration with another system we recommend that you explore AppSynergy's Federated Data Integration capabilities instead. If you only need to import a few CSV files please see File > Import Data....
AppSynergy uses MariaDB for its SQL engine (with various enhancements added, like AppSynergy's Federated features). MariaDB is largely compatible with MySQL, so most tools that support MySQL will work with MariaDB. This includes MySQL GUI and command line tools for various operating systems.
The sections below cover the following steps in detail:
There are many tools available that can do this, such as MySQL Workbench's Migration Wizard, but RazorSQL is a more flexible choice. The key feature is the ability to connect to almost any type of existing database (e.g. Sybase, Oracle, MS SQL, MS Access, plus many others... see site for details) and generate SQL statements using MySQL compatible syntax (regardless of the source syntax). RazorSQL can do this.
You will inevitably want to edit the .sql file that is generated to tweak a few things before importing into AppSynergy; see the following section for details.
If you are working with a large SQL database you will quickly find that editors like Notepad and Notepad++ are not able to open or edit large .sql files. One editor that CAN cope with multi-GB .sql files is EmEditor. This editor will allow you to open very large .sql files and tweak the syntax as needed.
You may want to edit the .sql file before import to tweak certain datatypes for optimal compatibility with AppSynergy; see the following section for details.
We suggest that you edit the .sql file before import and tweak the datatypes for optimal compatibility with AppSynergy. Some of these changes you can also make post-import using the AppSynergy UI.
First, you will need to install the MariaDB command line tools on your local machine. They can be downloaded from here. You may also use the MySQL tools if you prefer (the commands and syntax are essentially identical).
Second, create an AppSynergy API Key via Tools > API Keys... and assign the API Key user the Administrator role via Tools > Database Users...
Third, test that you can connect to your AppSynergy database and issue basic SQL commands:
Finally, you can import the .sql file you created above as follows: