diff --git a/pdns/start.sh b/pdns/start.sh index 88935fb..ca00292 100644 --- a/pdns/start.sh +++ b/pdns/start.sh @@ -11,7 +11,7 @@ if [ ! -z $MYSQL_ENV_MARIADB_DATABASE ]; then PDNSCONF_GMYSQL_USER=$MYSQL_ENV_MARIADB_USER PDNSCONF_GMYSQL_DBNAME=$MYSQL_ENV_MARIADB_DATABASE PDNSCONF_GMYSQL_PASSWORD=$MYSQL_ENV_MARIADB_PASSWORD -else +elif [ ! -z $MYSQL_ENV_MYSQL_DATABASE ]; then PDNSCONF_GMYSQL_USER=$MYSQL_ENV_MYSQL_USER PDNSCONF_GMYSQL_DBNAME=$MYSQL_ENV_MYSQL_DATABASE PDNSCONF_GMYSQL_PASSWORD=$MYSQL_ENV_MYSQL_PASSWORD