mysql命令不正确造成;
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
flush privileges