How to Auto Generate Database Diagram in MySQL?
To auto generate database diagram in MySQL, use MySQL workbench. For this, select the option from database as shown below −
Database->Reverse Engineer
Here is the snapshot showing the Database tab −

After clicking “Database” above, choose the option “Reverse Engineer”. This state the “Reverse Engineer” mode.

Clicking above will display the following table automatically. We had one table in the database “business”. The same table “tblstudent” is visible here −

Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP