3 # shell script to create Bacula database(s)
8 if $bindir/mysql -u root -f <<END-OF-DATA
10 grant all privileges on *.* to kern@localhost with grant option;
11 grant all privileges on *.* to kern@"%" with grant option;
12 grant all privileges on *.* to kelvin@localhost with grant option;
13 grant all privileges on *.* to kelvin@"%" with grant option;
14 grant all privileges on *.* to bacula@localhost with grant option;
15 grant all privileges on *.* to bacula@"%" with grant option;
20 echo "Privileges for kern, kelvin, and bacula granted."
23 echo "Error creating privileges."