Most MySQL programs that support option files handle the following options. They affect option-file handling, so they must be given on the command line and not in an option file. To work properly, each of these options must be given before other options, with these exceptions:
When specifying file names, you should avoid the use of the
~” shell metacharacter because it
might not be interpreted as you expect.
Read this option file after the global option file but (on
Unix) before the user option file. As of MySQL 5.0.6, if the
file does not exist or is otherwise inaccessible, an error
file_name is the full path
name to the file.
Use only the given option file. If the file does not exist or
is otherwise inaccessible, an error occurs.
file_name is the full path name to
Read not only the usual option groups, but also groups with
the usual names and a suffix of
str. For example, the
mysql client normally reads the
groups. If the
option is given, mysql also reads the
[mysql_other] groups. This option was added
in MySQL 5.0.10.
Do not read any option files. If program startup fails due to
reading unknown options from an option file,
--no-defaults can be used to
prevent them from being read.
Print the program name and all options that it gets from option files.