清楚mysql表中的数据

1 直接用delete 语句,但是在安全模式下会出现以下情况

2 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.

可以这样设置:Edit->sql editor->[Forbid UPDATE and DELETE statements without a WHERE clause (safe updates)]之前的对勾去掉


你可能感兴趣的:(软件使用)