aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/files
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/database/files')
-rw-r--r--[-rwxr-xr-x]deploy/adapters/ansible/roles/database/files/remove_user.sh9
1 files changed, 9 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
index 88b1518d..dc0b43fa 100755..100644
--- a/deploy/adapters/ansible/roles/database/files/remove_user.sh
+++ b/deploy/adapters/ansible/roles/database/files/remove_user.sh
@@ -1,4 +1,13 @@
#!/bin/sh
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
mysql -uroot -Dmysql <<EOF
use mysql;
delete from user where user='';