mysql workbench Error Code: 1046. No database selected Select the default DB to be used

A bug in mysql Workbench:
Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar.

Reason: Database was not selected
Solution: Double-click on the JSTZ post to execute the SQL Script

Read More: