]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - scripts/cleardb.sh
Localisation updates for !StatusNet from !translatewiki.net !sntrans
[quix0rs-gnu-social.git] / scripts / cleardb.sh
1 #!/bin/bash
2
3 export user=$1
4 export password=$2
5 export DB=$3
6 export SCR=$4
7
8 mysqladmin -u $user --password=$password -f drop $DB
9 mysqladmin -u $user --password=$password create $DB
10 mysql -u $user --password=$password $DB < $SCR
11