469,611 Members | 1,718 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,611 developers. It's quick & easy.

Error when Telnet to MySQL on Windows 2000?

I've got MySQL running as a service on my Windows 2000 box. And I can
work with it using a command window (DOS box). I used the default
install of MySQL and here's what status says:

mysql> status
--------------
mysql Ver 12.21 Distrib 4.0.15, for Win95/Win98

Connection id: 5
Current database:
Current user: ODBC@localhost
SSL: Not in use
Server version: 4.0.15-max-debug
Protocol version: 10
Connection: localhost via TCP/IP
Client characterset: latin1
Server characterset: latin1
TCP port: 3306

My problem is that I can't connect over TCP/IP. Originally I was trying
to connect with MySQLcc but I have dropped back to tring to connect with
Telnet.

Using Telnet I type: open localhost 3306
and I get this garbage:

1
4.0.15-max-debug?{W~5-"aB,?

Connection to host lost.

Press any key to continue...

This tells me that MySQL is indeed listening on port 3306, but that's
about all it tells me.

I installed and configured the ODBC driver for MySQL.

I have not created any new users. Read somewhere that the root user
can't connect over TCP/IP. If this was case I'd expect a more friendly
error message like 'Access denied' or something.

Can anyone tell me how to connect to a local MySQL using TCP/IP on a
Windows 2000 machine?

Thanks for your help.
Jul 19 '05 #1
2 4744

"Bruce W...1" <br***@noDirectEmail.com> wrote in message
news:3F***************@noDirectEmail.com...
I've got MySQL running as a service on my Windows 2000 box. And I can
work with it using a command window (DOS box). I used the default
install of MySQL and here's what status says:

mysql> status
--------------
mysql Ver 12.21 Distrib 4.0.15, for Win95/Win98

Connection id: 5
Current database:
Current user: ODBC@localhost
SSL: Not in use
Server version: 4.0.15-max-debug
Protocol version: 10
Connection: localhost via TCP/IP
Client characterset: latin1
Server characterset: latin1
TCP port: 3306

My problem is that I can't connect over TCP/IP. Originally I was trying
to connect with MySQLcc but I have dropped back to tring to connect with
Telnet.

Using Telnet I type: open localhost 3306
and I get this garbage:

1
4.0.15-max-debug?{W~5-"aB,?

Connection to host lost.

Press any key to continue...

This tells me that MySQL is indeed listening on port 3306, but that's
about all it tells me.

I installed and configured the ODBC driver for MySQL.

I have not created any new users. Read somewhere that the root user
can't connect over TCP/IP. If this was case I'd expect a more friendly
error message like 'Access denied' or something.

Can anyone tell me how to connect to a local MySQL using TCP/IP on a
Windows 2000 machine?

Thanks for your help.


Have you got any other services on the box that you can view from another
client to confirm the problem is definetly MySQL related, and not a
restriction of Windoze2000 (configuration restriction that you have not
enabled/disabled)? Have you got the mysql client installed on the server
too? If so, try using the db client on your win2000 box to connect to the
db server (ie connect to itself).

I would guess you need to rule out a network configuration issue on your
win2000 box first before blameing mysql because I had win98 using mysql and
it worked no problems with no special configuration... I know win2000 and
win98 are different, but they use the same mysql binary and same install
script, but just have different security limitations... thats where I'd
start...
Jul 19 '05 #2

"Bruce W...1" <br***@noDirectEmail.com> wrote in message
news:3F***************@noDirectEmail.com...
I've got MySQL running as a service on my Windows 2000 box. And I can
work with it using a command window (DOS box). I used the default
install of MySQL and here's what status says:

mysql> status
--------------
mysql Ver 12.21 Distrib 4.0.15, for Win95/Win98

Connection id: 5
Current database:
Current user: ODBC@localhost
SSL: Not in use
Server version: 4.0.15-max-debug
Protocol version: 10
Connection: localhost via TCP/IP
Client characterset: latin1
Server characterset: latin1
TCP port: 3306

My problem is that I can't connect over TCP/IP. Originally I was trying
to connect with MySQLcc but I have dropped back to tring to connect with
Telnet.

Using Telnet I type: open localhost 3306
and I get this garbage:

1
4.0.15-max-debug?{W~5-"aB,?

Connection to host lost.

Press any key to continue...

This tells me that MySQL is indeed listening on port 3306, but that's
about all it tells me.

I installed and configured the ODBC driver for MySQL.

I have not created any new users. Read somewhere that the root user
can't connect over TCP/IP. If this was case I'd expect a more friendly
error message like 'Access denied' or something.

Can anyone tell me how to connect to a local MySQL using TCP/IP on a
Windows 2000 machine?

Thanks for your help.


Have you got any other services on the box that you can view from another
client to confirm the problem is definetly MySQL related, and not a
restriction of Windoze2000 (configuration restriction that you have not
enabled/disabled)? Have you got the mysql client installed on the server
too? If so, try using the db client on your win2000 box to connect to the
db server (ie connect to itself).

I would guess you need to rule out a network configuration issue on your
win2000 box first before blameing mysql because I had win98 using mysql and
it worked no problems with no special configuration... I know win2000 and
win98 are different, but they use the same mysql binary and same install
script, but just have different security limitations... thats where I'd
start...
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Wayno | last post: by
reply views Thread by Ola Ogunneye | last post: by
reply views Thread by Gary Lundquest | last post: by
3 posts views Thread by kamilla | last post: by
11 posts views Thread by Ed Dearlove | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.