#!/bin/csh -f # dumpddl # ----------------------------------------------------------------------------- # C shell script to dump the DDL from the InfraTrac MySQL DB. # ----------------------------------------------------------------------------- # Revision History: # $Log$ # ----------------------------------------------------------------------------- if ($1 == "-?" || $1 == "-h" || $1 == "help") then set verb = $0 echo "Usage: $verb:t" exit 1 endif mysqldump -u root -p${MYSQL_PW} --add-drop-database --add-drop-table --comments --create-options --routines --triggers --no-data infratrac