deb-heat/tools/heat-db-drop
Steven Dake aa02d3270e Add a tools/heat-db-drop script for fatal error recovery
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-15 18:53:39 -07:00

9 lines
137 B
Bash
Executable File

#!/bin/bash
cat << EOF | mysql -u root -p
DROP USER 'heat'@'localhost';
DROP USER 'heat'@'%';
DROP DATABASE heat;
flush privileges;
EOF