From c6451316295f7549116659a74d470782e8b68959 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 1 Dec 2024 10:00:05 -0600 Subject: [PATCH] Update defaults.inc --- defaults.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 589a58e7..9340b81e 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.8.9-11292024' +VERS='2.8.10-12012024' noheader=' update service dailytemp confsync -r -report test ' @@ -31,7 +31,7 @@ source ${PW_FOLDER}/conf/settings.conf IP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) # if [[ "${IP}" = "10.2.1."* ]]; then mqtt_conn="/usr/bin/mosquitto_sub -h ${PW_IP} -u ${PW_MQTT_USER} -P ${PW_MQTT_PASS}" - mysql_conn="/usr/bin/mariadb -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}" + mysql_conn="/usr/bin/mariadb -h 127.0.0.1 -P 3307 --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}" # else # mqtt_conn="/usr/bin/mosquitto_sub -h 127.0.0.1 -u ${PW_MQTT_USER} -P ${PW_MQTT_PASS}" # mysql_conn='/usr/bin/mariadb'