Bug #61843 Error on MySQL Server command when change default port/service name
Submitted: 12 Jul 2011 22:24 Modified: 14 Jul 2011 17:35
Reporter: Armando Lopez Valencia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: Installer Severity:S3 (Non-critical)
Version:5.5.14.0 OS:Windows (Windows 7x64)
Assigned to: Iggy Galarza CPU Architecture:Any

[12 Jul 2011 22:24] Armando Lopez Valencia
Description:
Error on MySQL Server command when change default port/service name

How to repeat:
1. Install MySQL Server 5.5 with MySQL Installer.
2. On the "MySQL Server Configuration" page change the port number and Service name.
3. Complete installation.
4. Open the MySQL Server on: Start -> All Programs -> MySQL -> MySQL Server 5.5
5. Enter your password.

Expected result:
You will access to the MySQL Server.

Actual Results:
The following error is displayed:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe" "
--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.5\my.ini" "-uroot" "-p"
Enter password: *******
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
[13 Jul 2011 20:16] Armando Lopez Valencia
Sorry guys, same error for MySQL Server 5.1
Please verify.

Could not open required defaults file: C:\Program Files\MySQL\MySQL Server 5.1\m
y.ini
Fatal error in defaults handling. Program aborted
Enter password:
[14 Jul 2011 17:35] Armando Lopez Valencia
Fixed