Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 24f3a6204a
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (13 sloc) 0.582 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash
#mysql -u Nottingham -p djinnius_SheriffSales -h mysql.server272.com -P 3306 < SheriffSalesDumpWPA.out
#Enter password:
#ERROR 1142 (42000) at line 22: DROP command denied to user 'Nottingham'@'76.243.46.202' for table 'PennsylvaniaProperty'

if [ $# -ne 1 ]
then
    echo "Please specify a databse to upload."
else
    databasedump="$1"
    mysql -u djinnius -p djinnius_SheriffSales -h mysql.server272.com -P 3306 < "$databasedump"
    echo "uploading database $databasedump"
fi
#have to do it as djinnius bc otherone doesn't have drop acces...could easily change..
Something went wrong with that request. Please try again.