grant all on *.* to 'remote'@'172.16.21.39' identified by 'password';
remote 用户名
172.16.21.39 允许调用的ip
password 需要的密码
SQL权限设置详解:grantallon操作实例
本文详细解析了SQL中的grantallon命令,通过实例展示了如何为远程用户分配特定IP地址的访问权限及所需密码。
grant all on *.* to 'remote'@'172.16.21.39' identified by 'password';
remote 用户名
172.16.21.39 允许调用的ip
password 需要的密码
400

被折叠的 条评论
为什么被折叠?