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

SQL init script #25

Open
Phape opened this issue Jul 3, 2021 · 0 comments
Open

SQL init script #25

Phape opened this issue Jul 3, 2021 · 0 comments
Assignees

Comments

@Phape
Copy link
Owner

Phape commented Jul 3, 2021

  • initialize the database "mqtt"
  • create the user mqtt with rw rights on database mqtt
  • optional: create a graphana user with only r rights, more about that, see here
CREATE USER 'grafanaReader' IDENTIFIED BY 'password';
GRANT SELECT ON mydatabase.mytable TO 'grafanaReader';
@Phape Phape self-assigned this Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant