473,750 Members | 2,470 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4901

"Bruce W...1" <br***@noDirect Email.com> wrote in message
news:3F******** *******@noDirec tEmail.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***@noDirect Email.com> wrote in message
news:3F******** *******@noDirec tEmail.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5038
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I double-checked the path to my error log. It is in /var/www/logs/php_error_log Thanks. :) -Wayne Stevenson
0
2809
by: Ola Ogunneye | last post by:
--=_075912CF.F899D547 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello again all, I have created an account in the particular database that I was trying to backup Using PHPMYADMIN and I also created the same user account on the OS side. I still got the same 1064 message afterwards. I am still relatively new to Mysql and my adding user only works when I use
0
3110
by: Gary Lundquest | last post by:
I have an application with MS Access 2000 as the front end and MySQL as the back end. All was well until I upgraded the MySQL (Linux) server. The Problem: I insert data into a cumulative table. Before when I did this, and there were duplicate entries, the duplicate entries were rejected and I got a return code with the number of affected rows (number added). Now, I get a MyODBC error and the application stops when trying to add...
5
4160
by: Grant Nosbush | last post by:
I have searched the newsgroups and the web trying to solve this problem and just can't get it. Maybe someone will be able to help. I am getting the following error when I try to view a test page in my browser. This test page just reads a table in mysql and outputs the results. Fatal error: Call to undefined function: mysql_connect() in /var/web/public/test.php on line 2 I'm using:
3
6171
by: kamilla | last post by:
I have a mysql 3.5 server installed on a suse linux 8.1, with address 10.0.0.100. Now I want to access that db from a W2K pc, address 10.0.0.200. I am able to ping 10.0.0.100, but I cannot connect to the db, and get error 2013. I have tried with MySQL Administrator 1.0 and also with ODBC. The db on linux has grant all on *.* to ''@'10.0.0.%' and also tried .... to root@10.0.0.200 and others seen on posted messages. I can access that db...
11
2342
by: Ed Dearlove | last post by:
**Also posted in inetserver.iis newsgroup as I am unsure of where the problem lies** Hi, I have a strange problem, or I may just be stupid, but wondering if anyone can help with this one: We receive a large number of very simple POST requests to our vb.net web
0
1194
by: poolboi | last post by:
hi, a technical question here i'm now exploring on telnet and i only know it's telecommunication networking to access a server using yr password and username and do queries. i'm exploring it with mysql so is telnet like an interface with mysql? and telnet is it like a program or some sort?
1
2170
by: poolboi | last post by:
hi all, i need to connect a sal database to a proprietary database however the proprietary database does not support SQL statments which means i can't use statements like "INNER JOIN" to connect 2 database togethe one of the way to communicate with the proprietary database is to use TELNET however for a start, is there a way MySQL can be connected to a TELNET and then from TELNET we communicate to the proprietary database so the chain...
0
4846
by: Graycon | last post by:
I am trying to reboot several devices on my private network through telnet. I wrote a vbs that does the operation but i cannot select any other window while it is running of the input will not go into the telnet window created. I have begun to convert the code to C++ and am having problems I can get telnet to open to the ip address that I want but do not know how to pass any commands to it. I have read about 30 different website and people...
0
8840
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9584
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9399
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9259
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8266
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6083
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4717
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4895
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2228
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.