天天看點

mysql 允許遠端調用sql

grant all on *.* to 'remote'@'172.16.21.39' identified by 'password';

remote               使用者名

172.16.21.39   允許調用的ip

password         需要的密碼