List:General Discussion« Previous MessageNext Message »
From:Daevid Vincent Date:October 8 2002 11:28pm
Subject:RE: Remote Connection Probem
View as plain text  
I tried this and got a different result:

[root@daevid root]# telnet 127.0.0.1 3306          
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
?Host 'daevid' is not allowed to connect to this MySQL serverConnection
closed by foreign host.

[root@daevid root]# telnet localhost 3306          
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
?Host 'daevid' is not allowed to connect to this MySQL serverConnection
closed by foreign host.

[root@daevid root]# telnet daevid.com 3306
Trying 12.228.95.58...

mysql> select * from host ;
+-------------+----+-------------+-------------+-------------+----------
---+-------------+-----------+------------+-----------------+-----------
-+------------+
| Host        | Db | Select_priv | Insert_priv | Update_priv |
Delete_priv | Create_priv | Drop_priv | Grant_priv | References_priv |
Index_priv | Alter_priv |
+-------------+----+-------------+-------------+-------------+----------
---+-------------+-----------+------------+-----------------+-----------
-+------------+
| localhost   | %  | Y           | Y           | Y           | Y
| Y           | Y         | N          | Y               | Y          |
Y          |
| 192.168.0.% | %  | Y           | Y           | Y           | Y
| Y           | Y         | Y          | Y               | Y          |
Y          |
| %daevid%    | %  | Y           | Y           | Y           | Y
| N           | Y         | Y          | Y               | Y          |
Y          |
+-------------+----+-------------+-------------+-------------+----------
---+-------------+-----------+------------+-----------------+-----------
-+------------+
3 rows in set (0.00 sec)



> -----Original Message-----
> From: Stefan Kuss [mailto:skuss@stripped] 
> Sent: Tuesday, October 08, 2002 11:04 AM
> To: Ronald Petty
> Cc: mysql@stripped
> Subject: Re: Remote Connection Probem
> 
> 
> Thanks for your response.
> I tried to connect to the server via telnet as you suggested 
> with the following result.
> 
>     telnet my.machine.ip 3306
> 
>     Trying my.machine.ip...
>     Connected to my.machine.ip.
>     Escape character is '^]'.
>     Connection closed by foreign host.
> 
> Is this the behaivior I should expect, or am I correct to 
> assume that the remote host should not terminate the 
> connection. Somebody else on this list reported having the 
> exact same problems after an upgrade from Redhat 7 to Redhat 
> 8 in response to my post. Any more ideas of what could be wrong?
> 
> 
> ----- Original Message -----
> From: "Ronald Petty" <ron.petty@stripped>
> To: "Stefan Kuss" <skuss@stripped>; <mysql@stripped>
> Sent: Monday, October 07, 2002 10:59 PM
> Subject: Re: Remote Connection Probem
> 
> 
> > Try this
> > telnet yourmachine 3306
> >
> > If you do not get something like
> > Trying yourmachine
> > Conneced to yourmachine
> > Escape character is '^]'.
> > (then sits there on a blank line)
> >
> > Your port is not open,
> > Ron
> >
> >
> >
> >>
> >>Hi,
> >>
> >>I am running MySQL 3.23 on Redhat 8.0. I can connect to 
> MySQL from the
> local
> >>machine without any problem and I created a user with remote login 
> >>privileges. Trying to connect to it from another machine 
> (on the same 
> >>network as well as the same subnet) gives "ERROR: 10061 
> Connection to
> mysql
> >>server failed." I have no problems connecting to the linux 
> machine via
> hhtp,
> >>ftp, and ssh and a port scan shows that MySQL is infact 
> running on the 
> >>remote machine (default port 3306). Has anyone heard of similar 
> >>problems
> and
> >>an idea of how to solve this?
> >>
> >>-Stefan
> 
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread121664@stripped>
> To unsubscribe, e-mail 
> <mysql-unsubscribe-daevid=daevid.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 

Thread
Remote Connection ProbemStefan Kuss8 Oct
  • RE: Remote Connection ProbemDaevid Vincent8 Oct
  • Re: Remote Connection ProbemStefan Kuss8 Oct
    • RE: Remote Connection ProbemDaevid Vincent9 Oct