Can't connect to MySQL server

Ray Van Dolson rayvd at digitalpath.net
Thu Aug 10 14:14:36 UTC 2006


On Thu, Aug 10, 2006 at 02:58:04PM +0200, pons wrote:
> I installed a MySQL  on a RHEL server, and I want to connect to the database
> from another computer.
> but i keep getting "IP not allowed to connect to this MySQL server"
> As you know RedHat Linux Enterprise enable firewall by default, I run the
> firewall setting,
> and allow port 3306.
> 
> What could be worng?

You need to add a user to the User table (under the mysql db) with a
hostname entry either of '%' (for any remote host) or a specific IP/hostname
for the computer you want to access MySQL from.

http://mysql.com/doc/refman/4.1/en/adding-users.html

Ray




More information about the redhat-list mailing list