abeizn commented on code in PR #648:
URL: 
https://github.com/apache/incubator-devlake-website/pull/648#discussion_r1336828059


##########
docs/Troubleshooting/MySqlIssue.md:
##########
@@ -89,3 +89,14 @@ services:
 ```bash
   docker-compose restart mysql
 ```
+
+
+### How to connect mysql server which requires SSL?
+1. Skip-verifying the SSL certificate: you can add &tls=skip-verify to DB_URL 
variable, for example:
+   ```
+   
DB_URL=mysql://merico:merico@localhost:3306/lake?charset=utf8mb4&parseTime=True&loc=UTC&tls=skip-verify
+   ```
+2. Verify the SSL certificate: you can add 
&ca-cert=/path/to/your/ca-certificate.crt to DB_URL variable, for example:
+   ```
+   
DB_URL=mysql://merico:[email protected]:3306/lake?charset=utf8mb4&parseTime=True&ca-cert=/path/to/your/DigiCertGlobalRootCA.crt.pem

Review Comment:
   > we should stress that this is NOT supported in python plugin.
   I think no need to explain here, tls=custom is replaced in our code. Users 
only need to add&ca-cert=/path/to/your/ca-certificate.crt in the db url and it 
will be OK.
   



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