Bug #60783 --defaults-file= does not work
Submitted: 6 Apr 2011 17:24 Modified: 6 May 2011 18:40
Reporter: Jan Ksta Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.5.10 OS:Linux (x86_64)
Assigned to: CPU Architecture:Any

[6 Apr 2011 17:24] Jan Ksta
Description:
root@sv1 [~]# mysql --version
mysql  Ver 14.14 Distrib 5.5.10, for Linux (x86_64) using  EditLine wrapper
root@sv1 [~]# mysql --help|grep 'defaults-file'
--defaults-file=#       Only read default options from the given file #.
root@sv1 [~]# mysql --defaults-file=abc
mysql: unknown variable 'defaults-file=abc'

How to repeat:
--
[6 Apr 2011 18:40] Valeriy Kravchuk
I think you should try with a newer version, 5.5.11... 

Really strange result. On Mac I have expected error message:

macbook-pro:5.5 openxs$ bin/mysql --defaults-file=abc
Could not open required defaults file: /Users/openxs/dbs/5.5/abc
Fatal error in defaults handling. Program aborted
macbook-pro:5.5 openxs$ bin/mysql --version
bin/mysql  Ver 14.14 Distrib 5.5.12, for osx10.5 (i386) using readline 5.1
[6 May 2011 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".