mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 08:44:33 +01:00
203d337a55
If mariabackup does not get the password on command line or from the [mariabackup] section of the config file, it initializes the internal opt_password variable to empty string and considers it as set in a subsequent check, therefore ignoring the value of MYSQL_PWD envronment variable. At the same time MariDB server considers empty string passwords as no password. Fixing this is necessary to use automatically generated SST users because mariabackup needs --default-file option to use the same config as the server and that option does not allow to supply any extra config files, so using the automatically generated config with [mariabackup] section is out of question. Modify check for set password to treat empty string as unset and fall back to the MYSQL_PWD value if present. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com> |
||
---|---|---|
.. | ||
aws_sdk | ||
mariabackup | ||
readline | ||
wolfssl | ||
charset2html.c | ||
CMakeLists.txt | ||
comp_err.c | ||
innochecksum.cc | ||
my_print_defaults.c | ||
mysql_waitpid.c | ||
mysqld_safe_helper.c | ||
perror.c | ||
replace.c | ||
resolve_stack_dump.c | ||
resolveip.c |