summaryrefslogtreecommitdiffstats
path: root/create/data
diff options
context:
space:
mode:
Diffstat (limited to 'create/data')
-rwxr-xr-xcreate/data/change_nodeid.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/create/data/change_nodeid.sh b/create/data/change_nodeid.sh
index edf09d9d..17ed77d7 100755
--- a/create/data/change_nodeid.sh
+++ b/create/data/change_nodeid.sh
@@ -1,6 +1,6 @@
password=""
user="root"
-dbname="z"
+dbname="zabbix"
nodeid=$1
echo "update config set configid=configid+0000100000000000000*$nodeid"|mysql --user="$user" --password="$password" $dbname