<p align="center">登录到MySQL服务器端,在mysql库下执行<font face="Arial">grant all on *.* to 'remote'@'172.16.21.39' identified by 'password';即可</font> </p> <p align="center">如果要设置为任何客户端都可以以root连接的话,可以这么写:<br>grant all on *.* to <font color="#2e9ce9">'root'@'%'</font> identifiied by 'root的密码'<br><br></p>