diff options
Diffstat (limited to 'maintenance/storage/make-blobs')
-rwxr-xr-x | maintenance/storage/make-blobs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/maintenance/storage/make-blobs b/maintenance/storage/make-blobs new file mode 100755 index 00000000..9eb7e83e --- /dev/null +++ b/maintenance/storage/make-blobs @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ X$2 == X ];then + echo 'Usage: make-blobs <server> <db>' + exit 1 +fi + +echo "CREATE DATABASE $2" | mysql -u wikiadmin -p`wikiadmin_pass` -h $1 && \ +mysql -u wikiadmin -p`wikiadmin_pass` -h $1 $2 < blobs.sql + + |