Add a tools/heat-db-drop script for fatal error recovery
Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
parent
67c6131536
commit
aa02d3270e
8
tools/heat-db-drop
Executable file
8
tools/heat-db-drop
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
cat << EOF | mysql -u root -p
|
||||
DROP USER 'heat'@'localhost';
|
||||
DROP USER 'heat'@'%';
|
||||
DROP DATABASE heat;
|
||||
flush privileges;
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user