Update defaults.inc

This commit is contained in:
2025-06-02 20:14:43 -05:00
parent e3fbea64c8
commit f08de28155

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
PW_VERS='2.10.2-06012025'
PW_VERS='2.10.3-06022025'
noheader=' update service dailytemp confsync -r -report test '
@@ -39,9 +39,7 @@ source ${PW_FOLDER}/conf/settings.conf
if [ "${PW_MYSQL_HOST}" != "" ]; then
if [[ "${IP}" == "10.6.1"* ]]; then
# export MYSQL_PWD=${PW_MYSQL_PASS};
# mysql_conn="/usr/bin/mysql -s -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER}"
mysql_conn="/usr/bin/mysql -s"
mysql_conn="/usr/bin/mariadb --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
else
mysql_conn="/usr/bin/mariadb -P 3308 -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
fi