This is due to the security settings of Workbench, which can be solved through settings. Please refer to the following two methods:
Option 1: Express settings
Enter "SET SQL_SAFE_UPDATES = 0;" in the query window of Workbench.
Option 2: Interface settings
- In the feature column of Workbench, click "edit > Preferences", and "Workbench preferences" dialog box will pop up.
- In the left column of "Workbench", click "SQL Editor" and you will see "Safe Updates..." checked in the last line, just uncheck it.
- When unchecked, you may find you cannot click "OK" button in Linux system. Please click "General Editors" option in the left column, then you will be able to click "OK" button.
- Restart workbench.