]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #7396 grant command error in granting privileges script for MySQL
authorMarcin Haba <marcin.haba@bacula.pl>
Wed, 3 Mar 2021 14:21:59 +0000 (15:21 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:04 +0000 (09:03 +0100)
bacula/src/cats/grant_mysql_privileges.in

index 2f21301328af82269625b9d1a1aeb4cfb1f63876..ba291cbe3bbf464c312121240e699712f10bc2f1 100644 (file)
@@ -27,7 +27,6 @@ fi
 
 if $bindir/mysql $* -u root -f <<END-OF-DATA
 use mysql
-grant all privileges on ${db_name}.* to ${db_user}@localhost ${ssl_options};
 grant all privileges on ${db_name}.* to ${db_user}@"%" ${ssl_options};
 grant all privileges on ${db_name}.* to ${db_user}@localhost ${ssl_options};
 select * from user;