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:
None 
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
Description:
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:
 MySQL-Max-4.0.16-0
 MySQL-server-4.0.17-0
 MySQL-devel-4.0.16-0
 MySQL-shared-compat-4.0.17-0
 MySQL-client-4.0.17-0
 mysqlclient9-3.23.22-8
 MySQL-embedded-4.0.16-0
 MySQL-python-0.9.1-6

And MySQL Administrator from binary:
 mysql-administrator-1.0.1a-linux.tar.gz

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
    http://www.mysql.com/doc/en/Installing_source_tree.html

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.