home *** CD-ROM | disk | FTP | other *** search
- #!/bin/bash
- #
- # Creazione database per CISU
- # 1997 by Fabrizio Fiorucci (fiorucci@oasi.asti.it)
- #
-
- MSQLDIR=/usr/local/Hughes
- MSQLBINDIR=$MSQLDIR/bin
-
- DBNAME=CISU
- DUMPFILE=dbinit.dump
-
- $MSQLBINDIR/msqladmin drop $DBNAME
- $MSQLBINDIR/msqladmin create $DBNAME
- $MSQLBINDIR/msql $DBNAME < $DUMPFILE
-