aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/files
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/database/files')
-rwxr-xr-xdeploy/adapters/ansible/roles/database/files/remove_user.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/database/files/remove_user.sh b/deploy/adapters/ansible/roles/database/files/remove_user.sh
new file mode 100755
index 00000000..88b1518d
--- /dev/null
+++ b/deploy/adapters/ansible/roles/database/files/remove_user.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+mysql -uroot -Dmysql <<EOF
+use mysql;
+delete from user where user='';
+EOF