Browse Source

Add a tools/heat-db-drop script for fatal error recovery

Signed-off-by: Steven Dake <sdake@redhat.com>
changes/40/40/1
Steven Dake 10 years ago
parent
commit
aa02d3270e
  1. 8
      tools/heat-db-drop

8
tools/heat-db-drop

@ -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…
Cancel
Save