473,387 Members | 1,470 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

need help: cannot connect on localhost (10061)

hey, i'm new to mySQL...this meaning that i have tried ~10000 times to
install it and get it working over the past few weeks...and it always gives
me the same error (scroll further down to see it) despite following the
manual's windows installation exactly

i have version 4.0.13 for windows and i used the installer

once i was done, i followed the instructions in the manual exactly

i have no firewall running

i am on windows XP

i am running the client and server on the same computer

i ran winmysqladmin and it starts up fine

the 'mysqld-nt' service is in my processes tab of task manager

i go to dos prompt and type net start and mysql is there running fine

however, when in c:\mysql\bin
and i run 'mySQL' i get this error:
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

i have tried devshed, mysql help, etc. and cannot figure out why mine
doesn't work...it seems most people just reboot and it voile! works... but
i've rebooted over and over and over, and nothing changes...same error...

when i use mySQL Control Center v0.9.2-beta i get the same error when i
click Action->Connect

all i can say is ARGH!

all i can ask is "does anyone have any idea why this happens? or how to stop
it?"

i can telnet to port 3306, and get this readout (i have no idea how really
to use telnet...)

------------
c:\telnet localhost 3306

*
4.0.13-nt☺;7@yceRJ,☻ ►☺♦Bad handshake

Connection to host lost. (this when i press backspace, so i understand you
don't do that in telnet...)
i guess it is getting to mySQL, cuz the 4.0.13 at the beginning is my
version of mySQL
------------

i'll paste my my.ini (which is in c:\windows)

thanks so much,
\Kyle, who has been frustrated for a while now...

--beginning of my.ini

#This File was made using the WinMySQLAdmin 1.4 Tool
#7/18/2003 3:06:59 PM

#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions

[mysqld]
basedir=C:/mysql
#bind-address=127.0.0.1
datadir=C:/mysql/data
#language=C:/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-nt.exe
user=sakurak
password=sfzero2

--end of my.ini
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 8303

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Mr Dygi | last post by:
Hi, PHP 4.3.4 installed manually from package *.zip and Apache 2. I have a problem with this simple code: <?php $link = mysql_connect("127.0.0.1","","") or die("Could not connect: " ....
2
by: pieter_hordijk | last post by:
Hi all, maybe this isn't a php question, but a MySQL question. If so I'm sorry for asking you guys to help me :) I know this question is asked often in NGs, but I couldn't find the answer...
2
by: Asad Khan | last post by:
Hello, I was using MySQL till a few days ago just fine. Now everytime I try to run it using mysql.exe, I get the following error: "can't connect to mysql server 'localhost' (10061)" What...
0
by: Ryan Stewart | last post by:
I'm running MySQL server on a WinXP box at home. I have a cable modem/router. I've set up port forwarding on port 3306 to the machine running MySQL. I can connect locally just fine, but when I try...
3
by: oksofar | last post by:
Hello - I'm running PG 8.1 on Windows XP. I've installed the server to run as a service. The psql command fails to connect to the server, although I can connect with other clients. When I...
5
by: suma | last post by:
hi to all plaese help me i have same problem when download the phpdev and phptriad i cant connect to mysql when click the MyAdmin apear this messege in the page 'Warning: MySQL Connection...
1
by: swarajtnj | last post by:
HI Everybody, I am a newly person on MySql Database. I am using ASP.net 2.0 with Using the Database as MySql 5.0. My client server 63.247.82.34. The server previlages as create a database as 2....
2
by: samnav | last post by:
Hello, I know this question was asked many times before but I couldn't find a solution that works for me. I've installed an apache server (2.2.6), PHP (5.2) and MySQL (5.0.45) in my windows XP...
0
by: Rambaldi | last post by:
Hi there, I can connect to the WebMethod from the WM6 emulator, but i cant connect from the device :S Shouldnt the device work as fine as the Emulator??? I change the web reference url to my...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.