diff -urNp -x '*.orig' bacula-13.0.3.org/src/cats/make_catalog_backup.in bacula-13.0.3/src/cats/make_catalog_backup.in --- bacula-13.0.3.org/src/cats/make_catalog_backup.in 2023-05-02 11:50:49.000000000 +0200 +++ bacula-13.0.3/src/cats/make_catalog_backup.in 2023-07-17 10:50:16.131758558 +0200 @@ -16,12 +16,15 @@ # line arguments and the environment using ps. Please consult your # MySQL or PostgreSQL manual for secure methods of specifying the # password. +# In MySQL, you can create @working_dir@/.my.cnf and put password there in [client] section. # $4 is the host on which the database is located # (default "") # $5 is the type of database # # +HOME=@working_dir@ + default_db_type=@DEFAULT_DB_TYPE@ user=${2:-@db_user@}