You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/08/07 01:31:29 UTC
[GitHub] [incubator-shardingsphere] gameboyLV edited a comment on issue
#2811: Unsupported major.minor version 52.0
gameboyLV edited a comment on issue #2811: Unsupported major.minor version 52.0
URL: https://github.com/apache/incubator-shardingsphere/issues/2811#issuecomment-518903035
docker pull shardingsphere/sharding-proxy
docker run -d --name mysql-cluster -v /opt/sharding-proxy/conf:/opt/sharding-proxy/conf -e PORT=3308 -p 3308:3308 shardingsphere/sharding-proxy:latest
docker cp /opt/sharding-proxy/lib/mysql-connector-java-8.0.17.jar mysql-cluster:/opt/sharding-proxy/lib/mysql-connector-java-8.0.17.jar
docker cp /opt/sharding-proxy/lib/jdk-8u221-linux-x64.tar.gz mysql-cluster:/usr/lib/jvm/jdk-8u221-linux-x64.tar.gz
docker exec -it mysql-cluster bash
cd /usr/lib/jvm/ && tar -zxvf jdk-8u221-linux-x64.tar.gz
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_221/bin/java 300
update-alternatives --config java
exit
docker restart mysql-cluster
----------------------------------------------------------------
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
With regards,
Apache Git Services