We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59a3bee + 7b222c3 commit 83141fcCopy full SHA for 83141fc
func/db.sh
@@ -28,6 +28,7 @@ database_set_default_ports() {
28
29
# MySQL
30
mysql_connect() {
31
+ unset PORT
32
host_str=$(grep "HOST='$1'" $HESTIA/conf/mysql.conf)
33
parse_object_kv_list "$host_str"
34
if [ -z $PORT ]; then PORT=3306; fi
@@ -100,6 +101,7 @@ mysql_dump() {
100
101
102
# PostgreSQL
103
psql_connect() {
104
105
host_str=$(grep "HOST='$1'" $HESTIA/conf/pgsql.conf)
106
107
export PGPASSWORD="$PASSWORD"
0 commit comments