dosubot[bot] commented on issue #7928: URL: https://github.com/apache/incubator-devlake/issues/7928#issuecomment-2302865265
<!-- Answer --> To correctly configure the `DB_URL` for deploying DevLake with a managed GCP Cloud database service using SSL, you should use the `tls=custom` option and specify the path to your CA certificate. Here is an example configuration: ```plaintext DB_URL=mysql://<your-username>:<your-password>@<dbserver>:<port>/<database>?charset=utf8mb4&parseTime=True&tls=custom&ca-cert=/path/to/your/ca-certificate.crt ``` Make sure to replace `/path/to/your/ca-certificate.crt` with the actual path to your CA certificate file. This configuration ensures that the SSL certificate is verified using the provided CA certificate. If you encounter issues with `tls=custom`, you can also try `tls=skip-verify` as a fallback, but be aware that it will not verify the SSL certificate <sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/Troubleshooting/MySqlIssue.md)</sup><sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v1.0/Troubleshooting/MySqlIssue.md)</sup><sup>[[3]](https://github.com/apache/incubator-devlake-website/blob/main/docs/Troubleshooting/MySqlIssue.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org