MYSQL不认内网IP

由 潇洒 在 07-20-2004 11:12 发表:

MYSQL不认内网IP

在一台服务器(LINUX ES 3)上加多一块网卡后,并接到内网交换机,并配置好了一个内网ip,以前的网卡接的是专线,用的是公网IP,但MYSQL并不认这个内网IP,内网用户不能以内网ip访问MYSQL,只能用公网IP访问MYSQL,奇怪的是FTP用内网,公网IP都可以访问,请问这可能是什么问题呢?谢谢


由 kenwee 在 07-20-2004 22:13 发表:


GRANT ALL ON DATABASE.* TO DBUser@'192.168.0.%' IDENTIFIED BY "DBPassword";

用上面的命令试试看?应该可以的。


屏幕守望者……


由 Snoopy 在 07-21-2004 02:58 发表:


将ip改成0.0.0.0不知道是否有效 ?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choi

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus