X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_mysql_tables.in;h=2f8534798d46a5763d5f5f802ad3cf2a706becc8;hb=f5984fe3b5fe567e1609078ed5966f4d0428f0a7;hp=1361514577b358be3807b4a4a786814f70fa8e31;hpb=c0164685c7f693dd330074884185c83f95c3ee9a;p=bacula%2Fbacula diff --git a/bacula/src/cats/update_mysql_tables.in b/bacula/src/cats/update_mysql_tables.in old mode 100755 new mode 100644 index 1361514577..2f8534798d --- a/bacula/src/cats/update_mysql_tables.in +++ b/bacula/src/cats/update_mysql_tables.in @@ -1,71 +1,62 @@ #!/bin/sh # -# Shell script to update MySQL tables from version 1.38 to 1.39 +# Shell script to update MySQL tables from Bacula Enterprise 2.6 to 4.0 or +# Standard version 3.0 to 5.0 # echo " " -echo "This script will update a Bacula MySQL database from version 9 to 10" -echo " which is needed to convert from Bacula version 1.38.x to 1.39.x or higher" -echo "Depending on the size of your database," -echo "this script may take several minutes to run." +echo "This script will update a Bacula MySQL database from version 11 to 12" +echo " which is needed to convert from Bacula Enterprise 2.6 to 4.0 or " +echo " Standard version 3.0 to 5.0" echo " " bindir=@SQL_BINDIR@ +PATH="$bindir:$PATH" +db_name=@db_name@ -if $bindir/mysql $* -f <