mysql赋权

grant all privileges on *.* to root@'%' identified by 'stone';       给root用户在任何地址登录

flush privileges ; 

原文地址:https://www.cnblogs.com/maxomnis/p/5480904.html