New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect to azure mysql - ssl - get error UNKNOWN_CODE_PLEASE_REPORT: SSL connection is required. Please specify SSL options and retry. #491
Comments
can you share your settings from json file? https://vscode-sqltools.mteixeira.dev/driver/mssql#11-specific-options should help. You probably need to add |
Still have problems? |
I have the same problem. With Azure MySQL and MariaDB databases, by default, it requires a certificate to connect. https://docs.microsoft.com/en-us/azure/mysql/howto-configure-ssl Is this something currently supported by this extension? Edit: I got it working from the docs. Here is a connection profile that works with Azure databases:
We just have to add the ssl true part. Very simple, I thought I might have to point to the BaltimoreCyberTrustRoot certificat they refer to in the Azure docs. |
Hi there @mtxr i'm able to connect to the DB , but when run query got same error as show in the screenshot. VS Code 1.55.2
|
Describe the bug
A clear and concise description of what the bug is.
Install SQLTools, enter azure details.
Click TEST CONNECTION
To Reproduce
Steps to reproduce the behavior:
"UNKNOWN_CODE_PLEASE_REPORT: SSL connection is required. Please specify SSL options and retry."
Expected behavior
A clear and concise description of what you expected to happen.
There to be a [ ] use ssl option
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: