连接mysql数据时提示错误: “ERROR 1698 (28000): Access denied for user ‘root’@’localhost'”
进入MySQL
输入:
grant all privileges on *.* to 'root'@'localhost' identified by '123456';
flush privileges
Hugo-lake 2018-06-16 11:07 原文
进入MySQL
输入:
grant all privileges on *.* to 'root'@'localhost' identified by '123456';
flush privileges