You can use MySQL Workbench when you are designing a database. You can do it example like this:
When you have created the Model, you can syncronize this model to your MySQL-server. Which means that Workbench will generate the tables for you. Let's make an example.
With MySQL Workbench you can also create a model from your existing database.
Update Model
, otherwise you will destroy your database. The arrows should be like this:
In this exercise you will make a database from the backup-file(carsdb.sql) and then create the model based on the database.