liqingwang commented on issue #10103:
URL: 
https://github.com/apache/dolphinscheduler/issues/10103#issuecomment-1131457498

   And I have another question about running the Docker image.
   
   ```
   $ docker run -d --name dolphinscheduler-tools \
       -e DATABASE="postgresql" \
       # Use "com.mysql.cj.jdbc.driver" if you use MySQL
       -e SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver" \
       -e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/<DATABASE>" \
       -e SPRING_DATASOURCE_USERNAME="<USER>" \
       -e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \
       --net host \
       apache/dolphinscheduler-tools:"${DOLPHINSCHEDULER_VERSION}" 
tools/bin/upgrade-schema.sh 
   ```
   
   Do we need to config ```-e 
SPRING_DATASOURCE_DRIVER_CLASS_NAME="org.postgresql.Driver" \``` ?
   
   The reason please look  ⬆️
   
   WDYT @SbloodyS @caishunfeng 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to