#!/bin/sh # # shell script to create Bacula MySQL tables # # Copyright (C) 2000-2017 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # # Important note: # You won't get any support for performance issue if you changed the # default # schema. # # Useful commands: # mysql -u root # show databases; # show tables from ; # show columns from from ; # # use mysql; # select user from user; # bindir=@MYSQL_BINDIR@ PATH="$bindir:$PATH" db_name=${db_name:-@db_name@} if mysql $* -f <