This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16005|Reply: 1

[Source] You are using safe update mode and you tried to update a t

[Copy link]
Posted on 5/22/2018 10:32:45 AM | | |

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.


When using MySQL to execute update, if you do not use the primary key as the where statement, the above error will be reported.

This is because MySql runs in safe-updates mode, which will cause the update or delete command to not be executed under non-primary key conditions.

Execute the command SET SQL_SAFE_UPDATES = 0; Modify the database schema

If you want to improve the security level of the database, you can restore the original settings and execute the command: SET SQL_SAFE_UPDATES = 1;







Previous:Learn about understanding JWT (JSON Web Tokens).
Next:Discuz API&JSON is available for IOS and Android mobile development
 Landlord| Posted on 6/24/2023 1:16:12 PM |
You are using safe update mode and you tried to update a t
https://www.itsvse.com/thread-4787-1-1.html

Error Code: 1175. You are using safe update mode and you tried to update a ta...
https://www.itsvse.com/thread-4051-1-1.html

Error Code: 1175. You are using safe update mode and you tried to update a ta...
https://www.itsvse.com/thread-3839-1-1.html

Error Code: 1175. You are using safe update mode and you tried to update a ta...
https://www.itsvse.com/thread-3713-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com