473,768 Members | 1,392 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Port 3306 - can't get started

I have tried to install MySQL 4.0.14 on my Pentium 1.7Ghz running WindowsXP
Professional.

the installation ran through without any problems.

However, every command gives an error:
C:\mysql\bin>my sql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

C:\mysql\bin>my sql --install
mysql: ERROR: unknown option '--install'

C:\mysql\bin>my sqladmin -u root shutdown
....failed - and it suggested I telnet localhost 3306

C:\mysql\bin>te lnet localhost 3306
Connecting to localhost...Cou ld not open connection to the host, on port
3306: Connect failed

C:\mysql\bin>my sqladmin test
mysqladmin: connect to server at 'localhost' failed..

Anyone got any suggestions? Obviously I have to do something about port
3306.

Thanks
Steve
Jul 19 '05 #1
4 20591
Do you have the XP Firewall turned on?

"Steve Carson-Rowland" <st**********@y ahoo.com> wrote in message
news:3f******** *************** @news.optusnet. com.au...
I have tried to install MySQL 4.0.14 on my Pentium 1.7Ghz running WindowsXP Professional.

the installation ran through without any problems.

However, every command gives an error:
C:\mysql\bin>my sql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

C:\mysql\bin>my sql --install
mysql: ERROR: unknown option '--install'

C:\mysql\bin>my sqladmin -u root shutdown
...failed - and it suggested I telnet localhost 3306

C:\mysql\bin>te lnet localhost 3306
Connecting to localhost...Cou ld not open connection to the host, on port
3306: Connect failed

C:\mysql\bin>my sqladmin test
mysqladmin: connect to server at 'localhost' failed..

Anyone got any suggestions? Obviously I have to do something about port
3306.

Thanks
Steve

Jul 19 '05 #2
I went through Control Panel to Local Area Connection Properties and clicked
on the advanced tab and the check box for Firewall is OFF.

"Brandon" <br******@tenni sshop.com> wrote in message
news:HJ******** **********@fe1. columbus.rr.com ...
Do you have the XP Firewall turned on?

"Steve Carson-Rowland" <st**********@y ahoo.com> wrote in message
news:3f******** *************** @news.optusnet. com.au...
I have tried to install MySQL 4.0.14 on my Pentium 1.7Ghz running

WindowsXP
Professional.

the installation ran through without any problems.

However, every command gives an error:
C:\mysql\bin>my sql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

C:\mysql\bin>my sql --install
mysql: ERROR: unknown option '--install'

C:\mysql\bin>my sqladmin -u root shutdown
...failed - and it suggested I telnet localhost 3306

C:\mysql\bin>te lnet localhost 3306
Connecting to localhost...Cou ld not open connection to the host, on port
3306: Connect failed

C:\mysql\bin>my sqladmin test
mysqladmin: connect to server at 'localhost' failed..

Anyone got any suggestions? Obviously I have to do something about port
3306.

Thanks
Steve


Jul 19 '05 #3
I went through Control Panel to Local Area Connection Properties and clicked
on the advanced tab and the check box for Firewall is OFF.

"Brandon" <br******@tenni sshop.com> wrote in message
news:HJ******** **********@fe1. columbus.rr.com ...
Do you have the XP Firewall turned on?

"Steve Carson-Rowland" <st**********@y ahoo.com> wrote in message
news:3f******** *************** @news.optusnet. com.au...
I have tried to install MySQL 4.0.14 on my Pentium 1.7Ghz running

WindowsXP
Professional.

the installation ran through without any problems.

However, every command gives an error:
C:\mysql\bin>my sql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

C:\mysql\bin>my sql --install
mysql: ERROR: unknown option '--install'

C:\mysql\bin>my sqladmin -u root shutdown
...failed - and it suggested I telnet localhost 3306

C:\mysql\bin>te lnet localhost 3306
Connecting to localhost...Cou ld not open connection to the host, on port
3306: Connect failed

C:\mysql\bin>my sqladmin test
mysqladmin: connect to server at 'localhost' failed..

Anyone got any suggestions? Obviously I have to do something about port
3306.

Thanks
Steve


Jul 19 '05 #4
I went through Control Panel to Local Area Connection Properties and clicked
on the advanced tab and the check box for Firewall is OFF.

"Brandon" <br******@tenni sshop.com> wrote in message
news:HJ******** **********@fe1. columbus.rr.com ...
Do you have the XP Firewall turned on?

"Steve Carson-Rowland" <st**********@y ahoo.com> wrote in message
news:3f******** *************** @news.optusnet. com.au...
I have tried to install MySQL 4.0.14 on my Pentium 1.7Ghz running

WindowsXP
Professional.

the installation ran through without any problems.

However, every command gives an error:
C:\mysql\bin>my sql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

C:\mysql\bin>my sql --install
mysql: ERROR: unknown option '--install'

C:\mysql\bin>my sqladmin -u root shutdown
...failed - and it suggested I telnet localhost 3306

C:\mysql\bin>te lnet localhost 3306
Connecting to localhost...Cou ld not open connection to the host, on port
3306: Connect failed

C:\mysql\bin>my sqladmin test
mysqladmin: connect to server at 'localhost' failed..

Anyone got any suggestions? Obviously I have to do something about port
3306.

Thanks
Steve


Jul 19 '05 #5

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

Similar topics

0
4110
by: Figmo | last post by:
I am trying to connect to MySQL running on a port other than 3306. Port 8123 in my case. I have tried this: MYSQL_CONNECT("server.domain.com:8123","user","password") And also tried adding this to the top of the file: ini_set("mysql.default_port", "8123") I always get a "MySQL cannot connect (111)" error when I issue the
0
631
by: Steve Carson-Rowland | last post by:
I have tried to install MySQL 4.0.14 on my Pentium 1.7Ghz running WindowsXP Professional. the installation ran through without any problems. However, every command gives an error: C:\mysql\bin>mysql ERROR 2003: Can't connect to MySQL server on 'localhost' (10061) C:\mysql\bin>mysql --install
4
12272
by: erik | last post by:
Hi I'm just started with MySQL and I'm having MySQL_CC running When I want to connect to my web-hotel database-server what port-number most i write - default seems to be 3306 but is that correct one??? (with 3306 i seems to connect to the database on my PC) -- Erik Reinert Nielsen www.nogn.dk
1
3429
by: Reply-Via-Newsgroup Thanks | last post by:
Folks, I have a server at an ISP - I've got port 3306 open in the firewall so that I can work from remote however its got me thinking if its safe? I know Microsoft got hit with slammer (or whatever) worm on their unpatched machines that were exposed to the outside world, but I'm trying to measure up the risks by having my db server exposed for a few weeks. Anyone offer any comment?
3
2057
by: Barth?l?my von Haller | last post by:
Hi ! I installed mysql on windows xp. The first time I started mysld, there is no problem. But, now, each time I start mysqld, I must change the port in my.xxx else I got the following error : "Do you already have another mysqld server running on port : 3306 ?" etc... I stop mysqld with : "mysqladmin -u root shutdown". So, why I can't use the same port each time ?
0
2302
by: ryanmhuc | last post by:
I have root access to this server which has been preconfigured. I can connect using the mysql command tool. But I cannot connect using any mysql GUI software (I am currently tunneling the 3306 port to 3306 on the server using SSH). So i ran mysqladmin variables. And got the following: port 0 instead of the usually port 3306. Obviously I cannot connect on port 0. How can I troubleshoot this and get mysql running so I can connect via
4
27532
by: Paul | last post by:
I want to run MySQL on server but it only be accessible to programs on localhost. I see that port 3306 is open on server so I need to close it. How do I do that while keeping it available to programs running on localhost?
6
4155
by: Mitesh | last post by:
How can I programattically retrieve MySQL server's port value through PHP?
1
13465
by: Nabarun | last post by:
I have discovered a new thing as a solution for MySql error 10061 (error 2003) where if port 3306 is busy then service cannot run message comes The solution I found is go to mysql/bin type mysqld port 3305(or any port which is vacant) and then mysql runs I need any expert to verify it and authenticate it
3
5232
by: Suresh P | last post by:
Hi All, I tried to access the mysql database in ODBC using ip address and username/password. It returns, "cannot connect to MySQL server on IP ADDRESS(10060)". This could be related to Firewall on the server. Is there anyway to access MySQL database using ODBC without opening port 3306?
0
9576
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9407
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
10176
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
10018
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
8840
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...
1
7386
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6656
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();...
1
3933
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2808
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.