会报错的写法: GRANT ALL PRIVILEGES ON *.* 'root'@'%' identified by '123123' WITH GRANT OPTION;
以下是正确的写法:
grant all privileges on *.* to 'root'@’%’ ;