#!/bin/tcsh
# create tables of the GNP Proration System proration database.
# MySQL server mysqld must be running
set PWD=`echo $0:h`
set HOST=localhost
cat $PWD/../sql/create_tables.sql | mysql -h $HOST -u gnp --password=gnp gnp
cd $PWD/../load
cat copy_tables.mysql | mysql -h $HOST -u gnp --password=gnp gnp
