]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix org#2573 About Syntax error in granting privileges script with MySQL if --with...
authorMarcin Haba <marcin.haba@bacula.pl>
Mon, 30 Nov 2020 09:41:06 +0000 (10:41 +0100)
committerEric Bollengier <eric@baculasystems.com>
Mon, 30 Nov 2020 09:41:06 +0000 (10:41 +0100)
bacula/src/cats/grant_mysql_privileges.in

index d1ac8073e754162d418ca80c194af3d4d55806e9..76ac3f4346180ebd8b3700a639659faaf984ebe1 100644 (file)
@@ -27,8 +27,8 @@ fi
 
 if $bindir/mysql $* -u root -f <<END-OF-DATA
 use mysql
-grant all privileges on ${db_name}.* to ${db_user}@localhost ${pass} ${ssl_options};
-grant all privileges on ${db_name}.* to ${db_user}@"%" ${pass} ${ssl_options};
+grant all privileges on ${db_name}.* to ${db_user}@localhost ${ssl_options};
+grant all privileges on ${db_name}.* to ${db_user}@"%" ${ssl_options};
 select * from user;
 flush privileges;
 END-OF-DATA