Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forward engineer is doing nothing in the MySQL Workbench

I have little experience with MySQL Workbench and need some helps to figure out an issue. I loaded a new EER diagram from a .MWB file in the GUI and was trying to convert it into the SQL with Forward engineer. Initially, I was connected to the localhost and when, I press the Forward engineer..., nothing happens. The figure is as following, I'm working in the Mac OS Sierra operating system.

What I am missing here ? Some advice will help from the more expert users.

enter image description here

I use MySQL Workbench 6.3version for the work,

enter image description here

like image 565
Heisenberg Avatar asked Mar 28 '17 10:03

Heisenberg


People also ask

What is forward and reverse engineering in MySQL Workbench?

9.4.1 Forward Engineering 9.4.2 Reverse Engineering. MySQL Workbench provides capabilities to forward engineering physical database designs. A visual data model can be transformed into a physical database on a target MySQL Server by executing the forward engineering wizard.

What is forward engineering and reverse engineering in MySQL?

Forward Engineering Going from a logical data model to a physical data model. This is easy because the design includes all dependencies, indexes and relationships between the components of the data model. Reverse Engineering Attempting to reconstruct the logical data model from a physical data model.


2 Answers

I've had this same issue with the latest release of MySQL Workbench (macOS). It's definitely some bug as previously, I didn't have any issues forward engineering.

Here's a workaround:

Normally, you'd go to:

  • Database > Forward Engineer...

To work around this bug, instead go to:

  • Database > Synchronize Model...
  • This will look for any open ERDs which do not currently exist with the rest of your schemas, and will allow you to forward engineer the schema that way.
  • Warning: This could get hairy if you had a lot of ERDs opened and didn't want to synch all of them, so make sure you've got the right ones checked!

I know this is a late answer, but this solution allowed me to forward engineer an ERD which previously was not firing (just as you described, nothing from MySQL Workbench).

I found your post when trying to find a solution, and while troubleshooting, heard via a personal anecdote about this work around. It may already be posted elsewhere on stack (tried to find link but couldn't find it), but hope this helps :)

like image 147
twknab Avatar answered Sep 22 '22 23:09

twknab


Try:

File > Export > Forward Engineer SQL CREATE script
like image 21
RodolfoNeto Avatar answered Sep 20 '22 23:09

RodolfoNeto