I have connection to my database in MySQL Workbench and I would like to create erd diagram or if it is possible others diagrams. I have been using Ubuntu 14.04. I tried reading articles and manuals on the official website. They were unhelpful. Can you give me any instruction or advice how not to create my database by hand ?
2 Answers
Execute the Reverse Engineering Wizard against your database. For additional information, see:
http://dev.mysql.com/doc/workbench/en/wb-reverse-engineer-live.html
This creates an EER diagram and model from your database.
1 Comment
You can export your database for an file. For example in MySQLAdmin http://dev.mysql.com/doc/workbench/en/wb-admin-export-import.html
And then you can import this in your Workbench
Under Server Administration on the Home window select the server instance you want to restore database to (Create New Server Instance if doing it first time).
Click on Manage Import/Export
- Click on Data Import/Restore on the left side of the screen.
- Select Import from Self-Contained File radio button (right side of screen)
- Select the path of .sql
- Click Start Import button at the right bottom corner of window.
How can I import data into mysql database via mysql workbench?
This will build your database model