MySQL error code: 1175 during UPDATE in MySQL Workbench

前端 未结 20 1250
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 09:58

I\'m trying to update the column visited to give it the value 1. I use MySQL workbench, and I\'m writing the statement in the SQL editor from inside the workben

20条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-22 10:48

    Follow the following steps before executing the UPDATE command: In MySQL Workbench

    1. Go to Edit --> Preferences
    2. Click "SQL Editor" tab and uncheck "Safe Updates" check box
    3. Query --> Reconnect to Server // logout and then login
    4. Now execute your SQL query

    p.s., No need to restart the MySQL daemon!

提交回复
热议问题