MySQL: how to convert SQL file to Workbench mwb file

brewphone picture brewphone · Jul 5, 2016 · Viewed 7.6k times · Source

I have a sql file that creates a database with all tables. But I want to work on the database in MySQL Workbench which provide UI interface. So I think I need to create a MySQL Model from the database that created by the SQL file. Didn't find a way to do it. There must be a way. Searched but all are from mwb to sql. Please help. Thanks

Answer

Drew picture Drew · Jul 5, 2016

From the Home Screen on MySQL Workbench, click the arrow seen below that I circled in Red and create the model either based on an existing db or a script. It will bring up the Reverse Engineer screen. Proceed accordingly.

enter image description here

The above is from Workbench 6.3.3