Domanda

Sto usando MySQL. Ci sono 28 tabelle nel mio database. Ho cercato di usare MySQL Workbench per creare diagramma di E-R. Come ci sono 28 tavoli, tutto è incasinato nel diagramma utilizzando MySQL Workbench. Esiste un modo per creare E-R Schema che mostra tutti i rapporti correttamente tra 28 tavoli ??

Grazie

È stato utile?

Soluzione

The only free app I've been able to find that generates decent graphics (not beautiful but quite clear) is SchemaSpy. It's a command line Java program that generates quite comprehensive HTML documentation for any DBMS.

Altri suggerimenti

To Create ER Diagram in MySQL follow these steps:

1.First install MySQL Workbench in your computer

  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. Click Model->Add Diagram.
  6. Open Catalog Tree and select/drag your tables on your ERR diagram.

ERWin is another good tool. Allowing you to generate erd from sql code and sql code from er diagrams. Its a Drag and Drop utility.

SQL yog is one of the best tool which generate ERD and represents the relationship between different tables. It is also drag and drop utility and provide complete access to your mysql database.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top