3 # This routine makes the appropriately configured
4 # Bacula tables for PostgreSQL or MySQL.
5 # SQLite does not have permissions.
7 if test xmysql = x@DB_TYPE@ ; then
8 echo "Granting MySQL privileges"
9 @scriptdir@/grant_mysql_privileges $*
11 if test xpostgresql = x@DB_TYPE@ ; then
12 echo "Granting PostgreSQL privileges"
13 @scriptdir@/grant_postgresql_privileges $*
15 if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
16 echo "Granting SQLite privileges"
17 @scriptdir@/grant_@DB_TYPE@_privileges $*