码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2019-03-14 15:19:51      阅读:277      评论:0      收藏:0      [点我收藏+]

标签:cal   sql   localhost   5.7   ati   root   roo   nbsp   ide   

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

 

grant all privileges on zabbix.* to zabbix@localhost identified by ‘zabbix‘;

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

标签:cal   sql   localhost   5.7   ati   root   roo   nbsp   ide   

原文地址:https://www.cnblogs.com/new-journey/p/10530227.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!