473,396 Members | 1,965 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,396 software developers and data experts.

"can't connect to mysql server 'localhost' (10061)"

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 can I do to get rid of this? (What is 10061?)
Jul 19 '05 #1
2 42843
FYI: I just did this as well:

C:\Program Files\MySQL\afterinstall\bin>mysqladmin ping
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'

C:\Program Files\MySQL\afterinstall\bin>telnet localhost 3306
Connecting To localhost...Could not open a connection to host on port 3306 :
Con
nect failed

What's going on? What should i do?

Asad
"Asad Khan" <ai****@hotmail.com> wrote in message
news:Lp*******************@news04.bloor.is.net.cab le.rogers.com...
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 can I do to get rid of this? (What is 10061?)

Jul 19 '05 #2
FYI: I just did this as well:

C:\Program Files\MySQL\afterinstall\bin>mysqladmin ping
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'

C:\Program Files\MySQL\afterinstall\bin>telnet localhost 3306
Connecting To localhost...Could not open a connection to host on port 3306 :
Con
nect failed

What's going on? What should i do?

Asad
"Asad Khan" <ai****@hotmail.com> wrote in message
news:Lp*******************@news04.bloor.is.net.cab le.rogers.com...
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 can I do to get rid of this? (What is 10061?)

Jul 19 '05 #3

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

Similar topics

9
by: LRW | last post by:
I'm not exactly sure how to even ask the question, and I know my terminology is not good as I'm a SQL beginner, but, here goes. I need to find a way to make an if statement within an array...or,...
6
by: aa | last post by:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini in php.ini I have: SMTP = localhost SMTP_PORT = 25...
2
by: francescomoi | last post by:
Hi. I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: ---------------------------------- # export PATH=$PATH:/usr/local/mysql/bin/ # export mysqlclient=mysqlclient_r # python setup.py...
1
by: techBoy | last post by:
I installed MySQL4.0. No for creating a databse the help says like go to "mysql>" prompt and then enter some commands. How do I get this prompt ??
0
by: chico_001 | last post by:
I am doing some database testing and when I found a problem with the case sensitivity of "CONNECT TO". When "CONNECT to" is written with capital and small letters, a new db is not dropped and...
0
by: Hawksey | last post by:
Hello, Has anyone else experienced a similar problem. We get an intermittent error trying to send mail using smtpmail. Our SmtpMail.SmtpServer is a different server to our web application...
4
by: SpaceMarine | last post by:
hello, i know this is a common error, and i intend to research it next, but i thought id drop in here first. when i run my ASP.NET project from VS.NET 2005's internal, debug web server, it...
12
by: Jonathan Wood | last post by:
Greetings, I wonder if anyone can help me with this. I have an XP laptop, and a Vista desktop computer. I use the laptop to run software remotely on the desktop using the Remote Desktop...
6
by: Patrick.Simons | last post by:
I try to connect a FTPWebRequest through Proxy and VPN to a remote FTP- server. Sometimes it works sometimes not. When my VB.Net-App (2005) returns the error on the GetResponse-Method, I'll try to...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...
0
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...
0
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,...

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.