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


##########
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:
   `tls=custom` should be added to the query string according to the 
implementation.



##########
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:
   and, we should stress that this is NOT supported in python plugin.



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