]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/create_test_database
ebl Add '*' when volume is online when displaying volume list in restore.
[bacula/bacula] / bacula / src / cats / create_test_database
1 #!/bin/bash
2 #
3 # shell script to create Bacula database(s)
4 #
5
6 bindir=~kern/mysql/bin
7
8 if $bindir/mysql -f <<END-OF-DATA
9 CREATE DATABASE baculatest;
10 END-OF-DATA
11 then
12    echo "Creation of baculatest database succeeded."
13 else
14    echo "Creation of baculatest database failed."
15 fi
16 exit 0