📜  更新 sql 用户密码 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:17.249000             🧑  作者: Mango

代码示例1
-- In case the UPDATE command returns "Column 'Password' is not updatable" run
ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';
flush privileges;