chengshiwen edited a comment on issue #4871:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/4871#issuecomment-785648559


   @JIANCHUJUN Please see #4732
   If you just want to connect to a mysql datasource, not only you need to 
execute `docker cp mysql-connector-java-5.1.49.jar /opt/dolphinscheduler/lib` 
into `api` and `worker` container, you also need to restart all containers by 
`docker-compose restart`.
   **Attention**: The driver `mysql-connector-java-5.1.49.jar` must be required 
with `>=5.1.47`
   ```
   docker cp mysql-connector-java-5.1.49.jar 
dolphinscheduler-api:/opt/dolphinscheduler/lib
   docker cp mysql-connector-java-5.1.49.jar 
dolphinscheduler-worker:/opt/dolphinscheduler/lib
   docker-compose restart
   ```


----------------------------------------------------------------
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.

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


Reply via email to