Bug #61156 "My SQL Command Line Client" failed to open
Submitted: 12 May 2011 18:54 Modified: 4 Jul 2011 12:34
Reporter: LC Geek Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: Installer Severity:S3 (Non-critical)
Version:5.5.13.1 OS:Microsoft Windows (7)
Assigned to: Iggy Galarza CPU Architecture:Any

[12 May 2011 18:54] LC Geek
Description:
After installing "MySQL Installer for windows" (Beta) on windows 7, "MySQL Command Line Client" failed to open up.

How to repeat:
Install MySQL Installer for Windows Beta onto Windows 7
Start, All Programs, MySQL, MySQL Server 5.5, MySQL Command Line Client

Suggested fix:
The target was set to 
"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe" "--defaults-file=C:\Program Files\MySQL\MySQL Server 5.5\my.ini" "-uroot" "-p"
whereas the folder C:\Program Files\MySQL\MySQL Server 5.5 only contains
my-huge.ini
my-innodb-heavy-4G.ini
my-large.ini
my-medium.ini
my-small.ini
my-template.ini
and not my.ini.
Changing the traget my.ini to any of the filenames list above work OK.
[12 May 2011 23:05] MySQL Verification Team
Thank you for the bug report.

C:\Program Files\MySQL>"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe" "
--defaults-file=C:\Program Files\MySQL\MySQL Server 5.5\my.ini" "-uroot" "-p"
Could not open required defaults file: C:\Program Files\MySQL\MySQL Server 5.5\m
y.ini
Fatal error in defaults handling. Program aborted
[13 May 2011 8:16] Peter Laursen
I get (with 5.5.10 64 bit)

1) If I start program from start menu shortcut the client program windows 'flickers' shortly and closes down.

2) If started from cmd.exe a msgbox pops up telling "... not a valid win32 program"

This is a regression, I believe.  It worked after the fix for http://bugs.mysql.com/bug.php?id=58952 (must then be in 5.5.9).

Peter
(not a MySQL person)
[1 Jul 2011 17:11] Armando Lopez Valencia
Tested in OS: Windows 7x64 and x86
MySQL Installer build: 5.5.13.3 RC.

Same error.
C:\Windows\system32>"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe" "--d
efaults-file=C:\Program Files\MySQL\MySQL Server 5.5\my.ini" "-uroot" "-p"
Could not open required defaults file: C:\Program Files\MySQL\MySQL Server 5.5\m
y.ini
Fatal error in defaults handling. Program aborted
[1 Jul 2011 17:27] Armando Lopez Valencia
Logs

Attachment: Windows7x86.log.zip (application/x-zip-compressed, text), 4.00 KiB.

[4 Jul 2011 12:34] Armando Lopez Valencia
Tested in OS: Windows 7x86
MySQL Installer build: 5.5.13.3 pre-binary.
Bug fixed.