Skip to content
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

MySQL: Return meaningful error message based on SQLState #52521

Closed
zoltanbedi opened this issue Jul 20, 2022 · 1 comment
Closed

MySQL: Return meaningful error message based on SQLState #52521

zoltanbedi opened this issue Jul 20, 2022 · 1 comment

Comments

@zoltanbedi
Copy link
Member

There are situations when the error comes back as error 9999. We can't figure out what goes wrong. When this PR gets released we might give more meaningful error message based on the SQLState. go-sql-driver/mysql#1321

See the issue described here https://community.grafana.com/t/unable-to-connect-to-azure-mysql-database-as-data-source/22084

@zoltanbedi
Copy link
Member Author

This is by design that we don't return the error messages as those could be used to get information about the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant