Bug #23450 MySQL Administrator access violation w/ local my-huge.ini in place of my.ini
Submitted: 19 Oct 2006 1:38 Modified: 20 Oct 2006 8:39
Reporter: Sean Pringle Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.2.4 rc OS:
Assigned to: CPU Architecture:Any

[19 Oct 2006 1:38] Sean Pringle
Replacing MySQL Server's default my.ini with my-huge.ini causes MySQL Administrator to return an Access Violation when attepting to view "Startup Variables".

How to repeat:
Do a complete default Windows install of:

- MySQL Administrator 1.2.4 rc ("C:\Program Files\MySQL\MySQL Tools for 5.0")
- MySQL 5.0.26 (x86 w/ installer) ("C:\Program Files\MySQL\MySQL Server 5.0")

1) Start MySQL service.

2) Start Administrator; connect to localhost as root; view "Startup Variables" section, all without problems.

2) Stop Administrator; backup default my.ini elsewhere and rename my-huge.ini to my.ini. Both files located in "C:\Program Files\MySQL\MySQL Server 5.0"

3) Start Administrator; view "Startup Variables" section and receive memory exception. See attached screenshot.

Suggested fix:
No idea. Seems like Administrator should be able to read any of the ini files supplied with MySQL Server, or at least gracefully issue a refusal message instead of an access violation.
[19 Oct 2006 1:38] Sean Pringle

Attachment: shot_1.jpg (image/jpeg, text), 42.94 KiB.

[20 Oct 2006 8:39] Sveta Smirnova
Bug #22236 already describes this very problem. So I will mark this one as duplicate.