jilliss commented on issue #3905:
URL: https://github.com/apache/shenyu/issues/3905#issuecomment-1235182512

   > If I change the docker volume mount to '/opt/shenyu-bootstrap/ext-lib' and 
run it, the dirver not found error goes away (although it still fails with 
other errors)
   
   After a brief test, first of all, my environment is the image of `mysql:8` 
running by Docker and I added this image to Shenyu network (`--net shenyu`)
   
   I then mounted the mysql JDBC driver JAR package into the 
`opt/shenyu-bootstrap/ext-lib` directory
   
   When I started the  `apache/shenyu-admin:2.5.0` image, I made the following 
changes to my JDBC URL
   
   
jdbc:mysql://**shenyu-mysql:3306**/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false&**allowPublicKeyRetrieval=true**&serverTimezone=Asia/Shanghai&zeroDateTimeBeh
   avior=convertToNull
   
   Everything is working fine
   ps `shenyu-mysql` is the name I gave to the mysql container
   
   
![image](https://user-images.githubusercontent.com/30598952/188085473-4b2967f3-fd69-4e52-b8d3-01606f3f5c3f.png)
   
   


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