ExtMail服务器社区's Archiver

lulu 发表于 2007-2-23 12:28

mysqld问题

  [root@mail ~]# telnet localhost 3306
Trying 127.0.0.1...
Connected to mail.abc.com.cn (127.0.0.1).
Escape character is '^]'.
S#HY000Host 'mail.abc.com.cn' is not allowed to connect to this MySQL serverConnection closed by foreign host.

请问版主如何打開MySQL serverConnection .谢

hzqbbc 发表于 2007-2-23 12:30

[quote][b]下面是引用lulu于2007-02-23 12:28发表的mysqld问题:[/b]
  [root@mail ~]# telnet localhost 3306
Trying 127.0.0.1...
Connected to mail.abc.com.cn (127.0.0.1).
Escape character is '^]'.
S#HY000Host 'mail.abc.com.cn' is not allowed to connect to this MySQL serverConnection closed by foreign host.
.......[/quote]

好象是在host授权表里增加你的ip或ptr反解信息吧。具体看mysql的手册,里面有详细介绍授权的问题。。我看应该是将mail.abc.com.cn及127.0.0.1放到授权表里放行。。

candon 发表于 2007-8-24 19:02

在mysql里grant授权一下就可以了

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.