mysql改密码

update user set authentication_string = password('new password'),password_expired = 'N', password_last_changed = now() where user = 'root';

posted @ 2018-10-30 20:17  CrossPython  阅读(200)  评论(0编辑  收藏  举报