]> 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>
Thu, 24 Mar 2022 08:02:57 +0000 (09:02 +0100)
bacula/src/cats/grant_mysql_privileges.in

index 53bb03ef0a0c17e2ded14fa119108814236be730..0c0a8add6b1da218c9706a899c4bc3b20c2ef4ef 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