This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 3f464111d6 docs: add How to connect mysql server which requires SSL 
(#648)
3f464111d6 is described below

commit 3f464111d69adfe2c8fb1a864f687991dd6d3ef5
Author: abeizn <[email protected]>
AuthorDate: Tue Sep 26 17:44:25 2023 +0800

    docs: add How to connect mysql server which requires SSL (#648)
    
    * docs: add How to connect mysql server which requires SSL
    
    * docs: add note
    
    * fix: add tls=custom
    
    * fix: add note for python plugin
    
    * fix: add note for python plugin
---
 .../Troubleshooting/{MySqlSizeIssue.md => MySqlIssue.md} | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/docs/Troubleshooting/MySqlSizeIssue.md 
b/docs/Troubleshooting/MySqlIssue.md
similarity index 83%
rename from docs/Troubleshooting/MySqlSizeIssue.md
rename to docs/Troubleshooting/MySqlIssue.md
index 3226b7dc0f..0911828790 100644
--- a/docs/Troubleshooting/MySqlSizeIssue.md
+++ b/docs/Troubleshooting/MySqlIssue.md
@@ -1,8 +1,8 @@
 ---
-title: "Maintenance Troubleshooting"
+title: "Mysql Troubleshooting"
 sidebar_position: 4
 description: >
-  Maintenance Troubleshooting
+  Mysql Troubleshooting
 ---
 
 ## How to manage the quickly increasing MySQL disk consumption?
@@ -89,3 +89,15 @@ 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 
&tls=custom&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&tls=custom&ca-cert=/path/to/your/DigiCertGlobalRootCA.crt.pem
+   ```
+   Note: in Python plugins, it will fallback to the `skip-verify` policy.
\ No newline at end of file

Reply via email to