by unfunco · 5y ago · 0 comments
Haven't used MySQL in a while, but when I was using I'd have this alias in my zshrc:
alias mysql="mysql --i-am-a-dummy"
It hasn't happened since. root@localhost [main]> update user set password = 'abc123';
ERROR 1175 (HY000): You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.