mysql workbench修改字段报错

10:58:53  update txw_oqa_db.reel_barcode_luoduo set  dte=2041 where id=2  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.000 sec

没有定义主键

查看设置:

Edit-Preferences

 

 

posted @ 2021-10-21 14:22  txwtech  阅读(115)  评论(0编辑  收藏  举报