MySQL for Visual Studio has a data export tool that creates a dump file for a MySQL database.
In order to open a new window for the MySQL Data Export tool, the user must create a new connection using the Server Explorer Window inside Visual Studio. Once the connection is established, a contextual menu can be opened by right clicking on the connection node. From the menu, choose the MySQL Data Export option. A new tabbed-window opens for the current connection. The user can select one or more databases to include in the dump.
Follow these steps to create a dump for the MySQL Databases:
Select all the databases and their objects to be included in the dump.
It is very important to select the desired settings for the dump: whether the dump will include the data, whether the insert operations will be logged in extended mode, and so on. In the main window of the MySQL Database Export tool are shown the basic options for the dump. Also, by clicking on the Advanced button, more specific options can also be selected.
When the selection of the options is done, give a name to
the result file that will be created. If no path is given
for the result file, the default path to be used is
My Documents under the user's folder.
A filter can be applied on the list of schemas for the selected connection. With it, the user can easily locate the databases to be included in the dump.
After selecting the options and the name for the dump file, the user can click the Export button, which generates the dump.
Each dump can have different settings. After configuring the dump
operation, the settings can be saved into a setting file for later
use. This file includes: the connection selected, the name of the
file for the dump, and the database or databases and the objects
selected for dumping. The file extension for the setting file is
A saved setting file can be loaded into the MySQL Data Export tool by clicking the Load Settings button.