执行以下命令: mysql -uroot -p use mysql; update user set authentication_string=\'\' where user=\'root\'; //将 authentication_string 置空 alter user \'root\'@\'%\' identified by \'newpassword\'; flush privileges; 注
执行如下命令: grant all privileges on *.* to \'root\'@\'%\' identified by \'123456\' with grant option 报错: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for