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

 

欢迎讨论,相互学习。 txwtech@163.com
原文地址:https://www.cnblogs.com/txwtech/p/15433282.html