Bug #2745 Unable to access "Startup Variables" Fedora Core 1
Submitted: 12 Feb 2004 7:30 Modified: 12 Feb 2004 9:01
Reporter: William Caban Email Updates:
Status: Closed Impact on me:
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.0.1a ALPHA OS:Linux (Fedora Core 1)
Assigned to: Alfredo Kojima CPU Architecture:Any

[12 Feb 2004 7:30] William Caban
The "Startup Variables" menu item report the error "Could not locate the my.cnf configuration file" and does not display any additional information at the command line either. I have the my.cnf in the standard location /etc/my.cnf and a link at /etc/mysql/my.cnf pointing to the first one.

Using MySQL from the available RPMs:

And MySQL Administrator from binary:

How to repeat:
It happening every time I run it as root or any other user.

Suggested fix:
1) Include an option in the preference dialog at "General Opitons" for the user to configure the path to my.cnf.

2) Provide a verbose or debugging option at the command-line (like, ./mysql-administrator -vvv) such that the user can actually see messages with the actual request doing by the software, like "looking for my.cnf at path /etc/my.cnf", etc.
[12 Feb 2004 9:01] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at

Additional info:

The original problem has been fixed in the code, which should fix the problem for you and similar cases. I've also added a --my-cnf-path= cmd line argument so you can pass it in case you have it in a non-standard location.