Forward engineer is doing nothing in the MySQL Workbench

前端 未结 2 1615
甜味超标
甜味超标 2021-02-07 17:06

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 wa

相关标签:
2条回答
  • 2021-02-07 17:34

    Try:

    File > Export > Forward Engineer SQL CREATE script
    
    0 讨论(0)
  • 2021-02-07 17:46

    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 :)

    0 讨论(0)
提交回复
热议问题