3 # shell script to grant privileges to the bacula database
7 if $bindir/mysql $* -u root -f <<END-OF-DATA
9 grant all privileges on bacula.* to bacula@localhost with grant option;
10 grant all privileges on bacula.* to bacula@"%" with grant option;
15 echo "Privileges for bacula granted."
18 echo "Error creating privileges."