第二
第7步出现问题,ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(‘root’) where user=‘root’’ at line 1。 解决方法:把文中的【7、输入命令:update mysql.user set authentication_string=password(‘root’) where user=‘root’ ;】 改成:【ALTER user ‘root’@‘localhost’ IDENTIFIED BY ‘123456’;】就可以了。其中DENTIFIED BY ‘123456’[‘123456’]是自己设置的密码
成功,侵删