数据库
首页 > 数据库> > docker中mysql密码修改

docker中mysql密码修改

作者:互联网

# 修改普通用户,只改一个就好
SET PASSWORD FOR 'youruser' = PASSWORD('xxxxxxxx');

# 修改root用户,改两个
SET PASSWORD FOR 'root' = PASSWORD('xxxxxxxxx');
SET PASSWORD FOR 'root'@'localhost'=PASSWORD('xxxxxxxxx');

https://www.cnblogs.com/leaderjs/p/13206915.html

标签:www,SET,xxxxxxxxx,修改,密码,mysql,docker,PASSWORD,root
来源: https://www.cnblogs.com/51ma/p/15654225.html