ERROR 1698 (28000): Access denied for user ‘root‘@‘localhost‘怎么办?
1.首先在my.ini文件的[mysqlId]下面添加skip-grant-tables[mysqld]skip-grant-tables2.然后重启mysql通过mysql-urootmysql直接进入mysql中;3.然后通过命令修改密码updatemysql.usersetauthentication_string=PASSWORD('123'),plugin='mysql_native_p