IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2015, 5:24:35 PM (11 years ago)
Author:
watersc1
Message:

Merge of previous version to back out my over-zealous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/test/sastest.sh

    r38963 r38964  
    11#!/bin/csh -f
    2 
    3 set dbuser = czw
    4 set dbpass = -pczw
    52
    63chmod +x mksasdata.dvo mkgpc1.sh
     
    160157  # does the database already exist?
    161158  # XXX this command will blow away an existing database!!
    162   mysql -h localhost -u $dbuser $dbpass -e "create database ipptopsps_test"
    163   mysql -h localhost -u $dbuser $dbpass ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql
     159  mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test"
     160  mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql
    164161endif
    165162
     
    168165
    169166  # create the database (ignore failure if it already exists)
    170   mysql -h localhost -u $dbuser $dbpass -e "drop database ipptopsps_scratch"
    171   mysql -h localhost -u $dbuser $dbpass -e "create database ipptopsps_scratch"
     167  mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_scratch"
     168  mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_scratch"
    172169  ippjython setupScratchDb.py -test < /dev/null
    173170  if ($status) exit
Note: See TracChangeset for help on using the changeset viewer.