Why can’t you grab tickets when you travel on holiday?Reveal the key technology of 12306 how to ensure the ticket is not oversold>>>
error:
Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect. 0.00026 sec
analysis:
Using workbench, if you want to update or delete data in batch, you will generally report“
Error code: 1175 you are using safe update mode and you tried to update a table without a where that uses a key column “error, which is caused by the security settings of workbench and can be handled by setting
solutions:
Quick setting, directly input “set SQL” in the query window of workbench_ SAFE_ UPDATES = 0;” That’s it
1 SET SQL_SAFE_UPDATES = 0;
2 update testcase set check_point = '"code":200'
3 where creater ="xxx";
4
5 SELECT * FROM test.testcase;
References
https://jingyan.baidu.com/article/6c67b1d6f0efca2787bb1eba.html
Similar Posts:
- MYSQL:Error Code:1175
- [Solved] MySQL Delete or Update Data Error: Error Code: 1175
- MySQL Execute update error: Error Code 1175 [How to Solve]
- An error is reported when MySQL workbench modifies a field
- Error Code: 1175. You are using safe update mode…
- Prompt python.exe when using the command line to run the use case: error while finding module specification for ‘testcase_1.Test’…..
- [Solved] MySQL uses the workbench tool, and the table status is read only
- [Solved] MYSQL ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘mys…
- Thinkphp6 Error: constraint violation: 1052 Column ‘id’ in where clause is ambiguous
- SQL Error: Table is specified twice, both as a target for ‘UPDATE’ and as a separate source for data