mysql 8.0.12 修改root密码

use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密码';
FLUSH PRIVILEGES;
posted @ 2018-08-21 16:39  一江西流  阅读(1313)  评论(0编辑  收藏  举报