客户端连接caching-sha2-password问题

ALTER USER 'root'@'localhost' IDENTIFIED BY '123' PASSWORD EXPIRE NEVER;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123';
FLUSH PRIVILEGES;

posted @ 2018-07-22 17:48  电脑客  阅读(477)  评论(0编辑  收藏  举报