原文:MySQL Workbench – Error Code: 1175. You are using safe update mode

When you execute the update delete request in MySQL workbench and you got the message error as: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column A ...

2013-04-27 09:04 0 4418 推薦指數:

查看詳情

mysql update時報錯You are using safe update mode

在使用mysql執行update的時候,如果不是用主鍵當where語句,會報如下錯誤,使用主鍵用於where語句中正常。 這是因為MySql運行在safe-updates模式下,該模式會導致非主鍵條件下無法執行update或者delete命令, 執行命令SET ...

Thu Aug 27 18:44:00 CST 2015 0 2537
MySql Workbench 安全模式(safe mode)

默認情況下,MySql WorkBench 的安全模式是打開的,即:update、delete語句必須帶 where 條件字句,單條記錄更新或刪除。 關閉安全模式(safe mode): 菜單欄:編輯(Edit) ---> 個人偏好(preference)---> SQL編輯器 ...

Wed Jun 26 23:01:00 CST 2019 0 914
mysql delete數據時報Error Code 1175

我們在學校mysql的時候,在更新或者刪除數據的時候,會遇到以下錯誤: 第一次遇到這個錯誤是正常的,這是因為mysql的安全機制造成的,以下是解決方案: 一 :選擇mysql上面的Edit菜單 二:選擇Edit菜單中的Preferences選項,選中SQL ...

Thu Feb 04 01:35:00 CST 2016 0 1683
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM