FYI, the PR is merged. Thanks for the contribution. Willem Jiang
Twitter: willemjiang Weibo: 姜宁willem On Mon, Feb 18, 2019 at 9:10 AM zhang_...@boco.com.cn <zhang_...@boco.com.cn> wrote: > > I have modified the docs/faq/cn/how_to_use_mysql_as_alpha_backend_database.md > file in https://github.com/apache/servicecomb-pack/pull/405, Do I need to > wait for this PR to be merged into the master after submitting new PR? > 张 磊 > ------------------------------------------------ > 部门: 亿阳信通IT运维支撑产品线 > 地址: 北京市海淀区杏石口路99号西山赢府商务中心2410 > 邮编: 100093 > 手机: 18610099300 > 移邮:zhang_...@boco.com.cn > > > 在 2019年2月17日,下午10:42,Willem Jiang <willem.ji...@gmail.com> 写道: > > > > It's good solution, but due to license issue, we cannot ship the MySQL > > binary jars in our convenience binary release. > > But We could update the FAQ document for it. > > > > Willem Jiang > > > > Twitter: willemjiang > > Weibo: 姜宁willem > > > > On Sun, Feb 17, 2019 at 12:24 AM zhang_...@boco.com.cn > > <zhang_...@boco.com.cn> wrote: > >> > >> We can use loads external jars support multiple database types > >> create libs directory in the alpha-server-0.4.0-SNAPSHOT-exec.jar > >> directory, copy mysql-connector-java-8.0.15.jar to the libs directory And > >> add config -Dloader.path=./libs to the command line, e.g. > >> > >> java -Dloader.path=./libs -jar alpha-server-0.4.0-SNAPSHOT-exec.jar \ > >> --spring.datasource.platform=mysql \ > >> --spring.datasource.dataSourceClassName=com.mysql.jdbc.Driver \ > >> --spring.datasource.url='jdbc:mysql://0.0.0.0:3306/saga?useUnicode=true&characterEncoding=utf-8&autoReconnect=true' > >> \ > >> --spring.datasource.username=saga-user \ > >> --spring.datasource.password=saga-password \ > >> --spring.profiles.active=prd > >> > >> In order to external jars support need to use `ZIP` layout in maven plugin > >> configuration, e.g > >> > >> <plugin> > >> <groupId>org.springframework.boot</groupId> > >> <artifactId>spring-boot-maven-plugin</artifactId> > >> <configuration> > >> <layout>ZIP</layout> > >> </configuration> > >> </plugin> > >> > >> coolbeevip > >> ———————————————————————— > >> BOCO > >> > >> > >> >