diff options
author | shuai chen <chenshuai@huawei.com> | 2016-03-04 00:58:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-03-04 00:58:44 +0000 |
commit | b54d021a617657a52308d66b2a47e15c17e96f70 (patch) | |
tree | 410b7ac21a28876b1d0a5d12d1c873c05d40d224 /deploy | |
parent | 9b3a59957b52a74d5d4bb70b8ef4205764077d24 (diff) | |
parent | 240a6963c4a97628e5999828b24e9ecd3480efee (diff) |
Merge "FIX:access denied on centos7"
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy/adapters/ansible/roles/database/files/remove_user.sh | 5 |
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 |