home *** CD-ROM | disk | FTP | other *** search
/ Startware 5 / STARTWARE5.ISO / data / ufo / database / sh.dbinit < prev    next >
Encoding:
Text File  |  1997-01-29  |  293 b   |  16 lines

  1. #!/bin/bash
  2. #
  3. # Creazione database per CISU
  4. # 1997 by Fabrizio Fiorucci (fiorucci@oasi.asti.it)
  5. #
  6.  
  7. MSQLDIR=/usr/local/Hughes
  8. MSQLBINDIR=$MSQLDIR/bin
  9.  
  10. DBNAME=CISU
  11. DUMPFILE=dbinit.dump
  12.  
  13. $MSQLBINDIR/msqladmin drop $DBNAME
  14. $MSQLBINDIR/msqladmin create $DBNAME
  15. $MSQLBINDIR/msql $DBNAME < $DUMPFILE
  16.