Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE ...

Edit->Preferences



去掉这个选项
这个选项是为了安全考虑,只允许在删除和修改的时候,where条件必须是和主键相关的。

你可能感兴趣的:(Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE ...)