Read only mysql access in cloudron - possible?
-
Grafana recommends using a read-only user for accessing mysql databases for reporting. Absolutely valuable recommendation, as it would execute any given sql statement when setting up queries.
Is there a way to have a restricted access for Grafana?
I read the instruction from here:
https://docs.cloudron.io/guides/connect-mysql/#database-credentialsIf there is no way currently, I should add it as a feature request.
Would be great to have an read only access too. -
Currently we only create one credentialset for each app using the mysql database. For your use-case only those can be used right now. For monitoring the mysql instance (which is one for all apps) maybe a single read-only credentialset should to be created for grafana, being able to access all database not just per-app. But also that is not supported out of the box right now.
I will move this to the feature request section then instead.
-
N nebulon moved this topic from Support on
-
You should be able to create such a user if you operate with the mysql admin credentials which exist in the
mysqlservice container. You can get a terminal into that viadocker exec -ti mysql /bin/bashin an SSH session to the host system. However probably don't play around with this in a production system for a start.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
