ワークベンチを使っていてこんなエラー。 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 -> Query Editor and reconnect. そう言えばセーフモードの解除してなかったです。 いつも忘れるので、メモしておきますね。 意外と画像のあるページがないので SQLエディタの「Edit」から Preferencesを開いて SQLQueriesのタブを選んで SafeUpdatesのチェックを外す そして最後にワークベンチの再起動
![『MysqlWorkbenchでエラー(TRUNCATEとか)の対処』](https://cdn-ak-scissors.b.st-hatena.com/image/square/a6f103747b2b885dc0178e1b66661ae5af196f75/height=288;version=1;width=512/https%3A%2F%2Fstat.ameba.jp%2Fuser_images%2F20121113%2F17%2Fsouzou-katachi%2F37%2F4d%2Fp%2Fo0252016112284225908.png)