Mysql修改数据库密码

#选择数据库
use mysql;
update user set authentication_string = PASSWORD('666') where user='root' and host ='xxx';
flush privileges;
posted @ 2023-02-15 11:11  弩哥++  阅读(11)  评论(0编辑  收藏  举报