Skip to content

Commit 3aa38f9

Browse files
committed
fix HERE var
1 parent bcfe637 commit 3aa38f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

newMysql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ EXTRA_PRIVILEGE[infoBrowser]="select"
9595
EXTRA_PRIVILEGE[admin]="all privileges"
9696

9797
MYSQL_COMMANDS=""
98+
HERE=`hostname -f`
9899

99100
for CONFIG in "${EXTRA_CONFIG[@]}"; do
100101
MYSQL_COMMAND=`echo "grant ${EXTRA_PRIVILEGE[$CONFIG]} on $INFOLOGGER_MYSQL_DB.* to \"${EXTRA_USER[$CONFIG]}\"@\"%\" identified by \"${EXTRA_PWD[$CONFIG]}\";"`
@@ -110,7 +111,6 @@ echo ""
110111
echo "MySQL server accounts/db created"
111112
echo ""
112113
echo "You may use the following in the infoLogger config files:"
113-
HERE=`hostname -f`
114114
for CONFIG in "${EXTRA_CONFIG[@]}"; do
115115
echo "[$CONFIG]"
116116
echo "dbUser=${EXTRA_USER[$CONFIG]}"

0 commit comments

Comments
 (0)