2010年8月11日星期三

如何设置MySQL远程连接

登录到MySQL服务器端,在mysql库下执行grant all on *.* to 'remote'@'172.16.21.39' identified by 'password';即可 

如果要设置为任何客户端都可以以root连接的话,可以这么写:
grant all on *.* to 'root'@'%' identifiied by 'root的密码'



没有评论:

发表评论