]> 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>
Fri, 26 Mar 2021 13:57:58 +0000 (14:57 +0100)
bacula/src/cats/grant_mysql_privileges.in

index 0c0a8add6b1da218c9706a899c4bc3b20c2ef4ef..78db650e3310c295cd297e3b0d7a849aedf98ef7 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};
 select * from user;
 flush privileges;