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.
1 parent 2e05ab4 commit 7b222c3Copy full SHA for 7b222c3
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