admin avatar

mysql 8 修改用户名密码的命令

🕘 by admin





mysql 8 修改用户名密码的命令

跟之前所有的MySQL语法不一样

MySQL 8.0修改用户名密码命令如下

ALTER USER 'usename'@'host/ip' IDENTIFIED WITH mysql_native_password BY 'newps';

FLUSH privileges;





💘 相关文章

写一条评论

Based on Golang + fastHTTP + sdb | go1.18.3 Processed in 1ms