forked from GNUsocial/gnu-social
Remove dangerous old database destroyer script
This commit is contained in:
parent
c5d332f40a
commit
f9f33e2c72
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
export user=$1
|
|
||||||
export password=$2
|
|
||||||
export DB=$3
|
|
||||||
export SCR=$4
|
|
||||||
|
|
||||||
mysqladmin -u $user --password=$password -f drop $DB
|
|
||||||
mysqladmin -u $user --password=$password create $DB
|
|
||||||
mysql -u $user --password=$password $DB < $SCR
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user