Saturday, 4 September 2010

如何让MySQL服务器允许远程连接?

首先,更新mysql.user表,使得root用户登录必须使用口令;其次,删除无名本地用户;最后,添加普通用户并且将其host设为%。
此外,防火墙必须允许端口3306自内向外的新连接。

No comments:

Post a Comment

Note: only a member of this blog may post a comment.