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

Datasource provisioning with direct DB connection enabled failed #688

Closed
sdestivelle opened this issue Feb 28, 2019 · 4 comments
Closed

Comments

@sdestivelle
Copy link

Describe the bug
When setting the dbConnectionEnable to True according to the documentation
The Direct DB Connection is not Enable.

Expected behavior
The Direct DB Connection set to True is the web interface.

Screenshots
image

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
6.0.0 4.0.3 3.10.0
@alexanderzobnin
Copy link
Collaborator

alexanderzobnin commented Feb 28, 2019

@sdestivelle Yes, got it. This problem caused by wrong config schema migration. In order to solve it, add schema: 2 to your config:

jsonData:
    schema: 2
    username: zabbix
    password: zabbix
    dbConnectionEnable: true
    dbConnectionDatasourceName: MySQL Zabbix

@alexanderzobnin alexanderzobnin added this to the 3.10.1 milestone Mar 5, 2019
alexanderzobnin added a commit that referenced this issue Mar 5, 2019
@sdestivelle
Copy link
Author

Thanks for your quick response Alexander.
Forget to mention.

@alexanderzobnin
Copy link
Collaborator

@sdestivelle I fixed it in 3.10.1, so try to check it out (should work without schema field).

@sdestivelle
Copy link
Author

@alexanderzobnin I will try.
Thanks.

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

2 participants