Closed morgant closed 5 years ago
Currently, the MySQL username & password are defined within the automysqlcheck script, but this is less secure and also requires modification of the script for every installation. We should use MySQL's --defaults-file option for including the username & password (see https://dev.mysql.com/doc/refman/8.0/en/option-file-options.html#option_general_defaults-file & https://mariadb.com/kb/en/library/mysqldump/#option-f iles).
automysqlcheck
--defaults-file
Updated to use specified OPTIONS_FILE MySQL options file for auth credentials.
OPTIONS_FILE
Added basic usage instructions to README.
Currently, the MySQL username & password are defined within the
automysqlcheck
script, but this is less secure and also requires modification of the script for every installation. We should use MySQL's--defaults-file
option for including the username & password (see https://dev.mysql.com/doc/refman/8.0/en/option-file-options.html#option_general_defaults-file & https://mariadb.com/kb/en/library/mysqldump/#option-f iles).