Browse Source

[deploy] Add datasource driver name into env (#8100)

Co-authored-by: caishunfeng <534328519@qq.com>
wind 3 years ago
parent
commit
1038e6bf24
1 changed files with 1 additions and 0 deletions
  1. 1 0
      script/env/dolphinscheduler_env.sh

+ 1 - 0
script/env/dolphinscheduler_env.sh

@@ -29,6 +29,7 @@ export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$PYTHON_HOME/bin:
 
 export DATABASE=${DATABASE:-postgresql}
 export SPRING_PROFILES_ACTIVE=${DATABASE}
+export SPRING_DATASOURCE_DRIVER_CLASS_NAME
 export SPRING_DATASOURCE_URL
 export SPRING_DATASOURCE_USERNAME
 export SPRING_DATASOURCE_PASSWORD