MySQL创建一个可以远程访问的root用户

grant all privileges on *.* to root@'%' identified by '123456';
原文地址:https://www.cnblogs.com/gaogaoxingxing/p/15471421.html