mysql -uroot -p
grant all privileges on *.* to 'root'@'%' identified by 'abc' with grant option;
# abc为密码
flush privileges;