With Database Designer for MySQL you can reverse engineer an existing MySQL database. This means that you can extract the database tables, attributes, relationships, indexes, views, stored procedures and other objects from the database to your diagram.
To reverse engineer MySQL database:
1. Select Reverse Engineering () item on Database tab of the Ribbon or press Ctrl+R.
2. If the currently opened diagram already contains some objects, a warning dialog box will appear:
It requests you to create a new diagram to place the reversed objects into or use the currently opened diagram.
3. If connection for the current diagram has not been established, Database Connection Manager will be shown. Select a profile from the list of the available ones or create a new profile to connect to the database you want to revere engineer.
4. The MySQL Database Reverse Engineering tool will be shown.
You can set the reverse engineering options in the Options tab.
Reverse Engineer references
Automatically build references if none were reversed
Tables in a diagram row
5. In the Selection tab of the MySQL Database Reverse Engineering dialog you can choose the objects you want to reverse engineer.
There are several subtabs: Tables, Views, Stores Procedures, Events. Each of them allows you to select appropriate database objects. Click on the checkbox near the object to enable its reverse engineering. Pay attention to the Select All () and Deselect All () buttons on the tab, they allow you to select/deselect all objects in the list.
6. Click OK to start the database reverse engineering process. The Output -> Reverse docking window will display the state of the process.
7. The reversed database objects will be placed in your diagram.