fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update table style
[wolnelektury.git]
/
scripts
/
drop-tables
1
#!/bin/bash
2
DATABASE=$1
3
USERNAME=$2
4
PASSWORD=$3
5
mysqldump -u$USERNAME -p$PASSWORD --add-drop-table --no-data $DATABASE | grep ^DROP | mysql -u$USERNAME -p$PASSWORD $DATABASE