MySQL5.5里:MySQL5.6里:已经加密。但如果updatemysql.usersetpassword=password(654321)whereUser=hcy;还会是明文,如图:测试环境binlog_format=MIXED改为ROW
MySQL5.5里:
MySQL5.6里:
已经加密。
但如果
update mysql.user set本文来源gaodai#ma#com搞@@代~&码*网/ password=password(‘654321′) where User=’hcy’;
还会是明文,,如图:
测试环境
binlog_format = MIXED
改为ROW模式:
加密。
本文出自 “贺春旸的技术专栏” 博客,请务必保留此出处