Generate ER Diagram from existing MySQL database, created for CakePHP

user198003 picture user198003 · Dec 1, 2010 · Viewed 190.1k times · Source

For CakePHP application, I created MySQL database.

Which tool to be used to create ER Diagram of database? Fields and relations between tables are created in a way cakePHP likes.

thank you in advance!

Answer

varun249 picture varun249 · Feb 27, 2014

Use MySQL Workbench. create SQL dump file of your database

Follow below steps:

  1. Click File->Import->Reverse Engineer MySQL Create Script
  2. Click Browse and select your SQL create script.
  3. Make Sure "Place Imported Objects on a diagram" is checked.
  4. Click Execute Button.
  5. You are done.