Variable ‘sql_mode’ can’t be set to the value of ‘NO_AUTO_CREATE_USER’

I recently had this problem as well after exporting my database from MySQL Workbench 6.1 CE and then trying to import it into a newer version of MySQL WorkBench 8.0.11. Each were installed with the community server installer msi. After doing some searching I came across this bug report on the MySQL website: Restaure dump … Read more

Creating UNIQUE constraint on multiple columns in MySQL Workbench EER diagram

In the Alter Table dialog of MySQL Workbench: Go to Indexes tab. Double-click on a blank row to create a new index. Choose ‘UNIQUE’ as the index type. Check the columns that you want to be unique together. There’s some discussion as to whether this is weird, since an index is not the same as … Read more

How can I import data into mysql database via mysql workbench?

Under Server Administration on the Home window select the server instance you want to restore database to (Create New Server Instance if doing it first time). Click on Manage Import/Export Click on Data Import/Restore on the left side of the screen. Select Import from Self-Contained File radio button (right side of screen) Select the path … Read more