How to link a database to a working folder

A working folder contains SQL script files that represent your database, allowing you to script database changes to a database folder. After saving changes, the database working folder can be source-controlled with your version control system in the same way you version-control other files.

Note

The Changes History document is unavailable when your database is linked to a working folder.

1. In Database Explorer, right-click a database you want to link to source control and select Source Control > Link Database to Source Control.

Alternatively, navigate to the main Database menu and select Link Database to Source Control.

2. On the Link page of the Link Database to Source Control dialog, click Create New Repository Create New Repository in the Source control repository field.

Note

The previously linked repository will be selected by default.

3. In the Source Control Repository Properties dialog, select Working Folder from the Source Control system dropdown list.

4. Specify a path to the database folder and a type of a repository name in the corresponding fields. Then, click OK to apply the changes and close the dialog.

Link DB to Working Folder

5. Select a database development model: dedicated or shared.

6. Click Link to establish the connection between the database and source control.

Link DB Wizard

The Refresh progress window opens automatically, showing the stages of the refresh operation. The linked database gets the following icon in Database Explorer:

Linked DB

Want to Find out More?

Overview

Overview

Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
All Features

All features

Get acquainted with the rich features and capabilities of the Studio in less than 5 minutes.
Request a demo

Request a demo

If you consider employing the Studio for your business, request a demo to see it in action.
Ready to start using dbForge Studio for MySQL?