You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/02/10 08:51:42 UTC

[GitHub] [incubator-dolphinscheduler] chengshiwen edited a comment on issue #2584: [Feature] 建议k8s部署的时候默认数据库是MySQL,降低使用门槛

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


   @lookhua @liwenhe1993 Because of the commercial license, we cannot directly use the driver and client of MySQL. If you want to use MySQL, you can build a new image based on our `apache/dolphinscheduler` image.
   
   As for MySQL, you need to download [mysql-connector-java-5.1.49.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.49/mysql-connector-java-5.1.49.jar)
   
   1. Create your `Dockerfile`
   ```
   From apache/dolphinscheduler:latest
   COPY mysql-connector-java-5.1.49.jar /opt/dolphinscheduler/lib
   RUN apk add --update --no-cache mysql-client
   ```
   2. Build the image
   ```
   docker build -f Dockerfile -t apache/dolphinscheduler:mysql .
   ```
   
   by the way , please update/add title and description in English


----------------------------------------------------------------
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:
users@infra.apache.org