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

Why did MySQL stops working once the port value is changed in my.cnf?

works fine:
[client]
port = 3306
[mysqld]
port = 3306

but once changed to:
[client]
port = 3307
[mysqld]
port = 3307

I get the following error:
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

by the way, I've added the port 3307 to the firewall's exceptions list.
any suggestions would be greatly appreciated.
Oct 26 '10 #1
2 1576
Can you show the configuration files for both the client and the server?
Nov 4 '10 #2
mwasif
802 Expert 512MB
Did you restart the server after changing the port?
Did you provide the new port 3307 while connecting to it?
Nov 5 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
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...
0
by: sam | last post by:
I am running win2k3, iis6, access db's, for a web app. The problem is that asp stops working randomly. No errors in IIS log, no errors in even viewer. It just stops serving asp. Restarting IIS...
2
by: Martin Hjärtmyr | last post by:
I have a program that uses Hotkeys! And they works just fine! I use this hotkeylib:...
4
by: Qingdong Z. | last post by:
I have a VS.NET windows application which use drag-drop feather. It works fine when application start, but stops working after application run one or two days. The application is related to Video...
1
by: feng | last post by:
Hi, I just re-installed my VS.Net and my ASP.Net stops working. I just noticed that the ASP.Net engine, aspnet_wp.exe, is not running on my machine. Any aspx page access request will return...
0
by: okaminer | last post by:
Hi I have here a problem that I can't understand I have a server control which have a button this button implements click event. My problem is when I try to register the control to...
4
by: Richard | last post by:
Hi All, I've been trying to build a Ruby-on-Rails plus MySQL application. I'm running Ruby 1.8.2, Rails 1.1.4 and MySQL 5.0.15-nt over WinXP-Pro/SP2. I run under an Administrative account. ...
6
by: Mitesh | last post by:
How can I programattically retrieve MySQL server's port value through PHP?
6
by: pankajs | last post by:
Hello freinds! I m making a game but I m facing a problem that when I click New Game button(defined by me) animation starts. But in the animation keys are not working even the Close button at the...
1
by: rcldesign | last post by:
I have a web service (.NET 3.5) that (should take) a long time to finish what it's doing (in the neighborhood of 20 minutes). I am calling this webservice asynchronously from an ASP .NET page -...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...

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.