Home > Documentation > SQLite to MySQL
SQLite to MySQL Tutorial |
[SQLite to MySQL Converter] [About Migration] [Command line] |
The process of database migration from SQLite to MySQL consists of the following steps:
1. Select Migration ScenarioOn this screen you need to select the conversion scenario. SQLite to MySQL converter provides two options to migrate SQLite database to MySQL:
| ||
2a. Connect to MySQLIf "Migrate to MySQL server" option has been selected on the first wizard page, the converter displays this page to get MySQL connection settings. SQLite to MySQL migration tool can connect to MySQL using local or remote mode. Local mode is used to connect MySQL server launched on the same machine where the program is running. Remote mode allows to connect MySQL running on another computer that can be accessed via Internet or LAN. Local connection mode is the default setting. To use remote connection select "Remote" radio button and specify host and port values. Host can be either network name or IP address. Port value is necessary only if it differs from the default 3306. If you need to specify custom port for local connection, select "Remote" and type "localhost" or "127.0.0.1" into "Host" box. |
||
2b. MySQL script file settingsThrough this wizard page SQLite to MySQL converter allows to specify how the resulting dump file should be formatted. There are following settings available:
|
||
Other options are self-explained. | ||
3. Select DatabasesThis wizard screen is designed to specify SQLite database and MySQL database or SQL-script file (depending on the conversion scenario). Existing MySQL database can be processed as follows:
Specify log file to enable the program write execution traces. It may be used to analyze possible error messages and get more control over the conversion process. If no log file is specified, the logging is disabled. |
||
4. Conversion SettingsOn this wizard screen you can customize the conversion process using the following settings:
|
||
| ||
5. Select TablesThis wizard page is designed to select SQLite tables for migration to MySQL. To add new table select it in "Available tables" list and click "Add" button (or double-click the highlighted item). Use "Add all" button to add all available tables. To remove an item from "Selected tables" list highlight it and click "Remove" button. Use "Remove all" button to remove all items from "Selected tables" list box. To edit table or query double click the corresponding item in "Selected tables" list box. If it is a table, dialog box appears to edit table attributes and to define custom type mapping. See Edit Table article for the further information. If selected item is a query, you will see dialog box to edit SQL-statement of the query. |