MySQL5.7版本及以上,改密码sql语句

Posted New_Journey

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL5.7版本及以上,改密码sql语句相关的知识,希望对你有一定的参考价值。

mysql> update mysql.user set authentication_string = password(‘*****‘)  where user = ‘root‘;

 

grant all privileges on zabbix.* to [email protected] identified by ‘zabbix‘;

以上是关于MySQL5.7版本及以上,改密码sql语句的主要内容,如果未能解决你的问题,请参考以下文章