MySQL Workbench helps to visualize your database
I first looked at this tool a number of months ago when it was still in alpha stage. The alpha version didn’t work too well…actually not at all for me. Recently I noticed they were up to release candidate 1 so I decided to give it another try. I had high hopes as I have always found the ability to visualize a database design with all relationships a huge bonus. There are other tools to do this but I was excited to see what MySQL’s official rendition would be like.
I’ve only used it briefly but in my first run through I was impressed. I had an existing MySQL database structure that someone else had built but I was now working on. I knew the basic structure of the site but was having trouble understanding the different relationships between the tables.
At this point I should mention that MySQL Workbench has 2 versions. The first is the open source version which can be freely downloaded and used within GPL restrictions. The 2nd is a commercial version which brings some added functionality for a yearly subscription fee. Unless you’re dealing with enterprise level database design, the open source version should suffice.
I first had to export my database with the MySQL Administrator GUI tool’s backup function. This gave me a single script describing my entire database. Then I fed that file into the “Reverse Engineer MySQL create script” import feature of MySQL Workbench. After trying the “Autoplace object in new diagram” function once I determined it wasn’t really that useful as it just created a huge blob of tables.
Diagrams seem to be the most useful for me. You can create any number of diagrams in a project with different layouts of any of the tables. I decided to create a diagram that specifically showed the relationship of users and their associated data.
MySQL workbench just recently went into GA (General Availability) as a full release. This tool is essential for anyone does any level of database design with MySQL. Two thumbs up!


May 23rd, 2008 at 6:14 pm
Hello,
I’m currently trying the MySQL Workbench to design a database from scratch.
The thing is that I don’t really see the difference between the 1:n or 1:1 relationship (I understand the logical, i already worked on several database project). I checked the SQL code difference generated by WorkBench, and I noticed that there were no difference at all !
Can you give me a hand there ?
Pascal
June 5th, 2008 at 8:30 am
Hey
Thanks for the overview of MySQL Workbench. I was looking for a product just like this one. I reviewed a lot of 3rd party apps, and I’m about to give this one a try. From the website it looks promising, so I’m excited to see what it can really do.
Cheers
–Puraz
August 20th, 2009 at 9:58 pm
Thanks for the write-up. Very helpful.