michaelcoburn / percona_mysql

ansible role for Percona Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for single /etc/my.cnf where variables work in all versions using --loose flag

michaelcoburn opened this issue · comments

https://dev.mysql.com/doc/refman/5.5/en/option-modifiers.html

If an option is prefixed by --loose, a program does not exit with an error if it does not recognize the option, but instead issues only a warning:

shell> mysql --loose-no-such-option
mysql: WARNING: unknown option '--loose-no-such-option'

The --loose prefix can be useful when you run programs from multiple installations of MySQL on the same machine and list options in an option file. An option that may not be recognized by all versions of a program can be given using the --loose prefix (or loose in an option file). Versions of the program that recognize the option process it normally, and versions that do not recognize it issue a warning and ignore it.