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

Use multiple/different database for each domain to be tracked (On Premise) #17739

Closed
aayush27894 opened this issue Jul 6, 2021 · 1 comment
Closed
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@aayush27894
Copy link

Hello,

I am currently tracking user metrics for 2 domain names/websites using a single "On-Premise" matomo instance. Each of them are being used by different clients. The issue is that all of the data is getting stored in the same database, that might be a security concern for both the clients as both their user data gets stored in the same database and tables. Even though matomo gives a way to isolate the domains at a UI level by creating users to control the access, that isn’t enough.

I was wondering if there is any way of storing the data for each domain that we are tracking to be stored in separate databases and if not separate databases, even separate schemas in the same database should be good enough.

@diosmosis
Copy link
Member

Hi @aayush27894, the only way currently to separate users by database is to have a multi tenant setup. We have some documentation about it here: https://developer.matomo.org/guides/multi-tenants . If you have further questions about how to set this up, please ask on the forums (https://forum.matomo.org/).

@diosmosis diosmosis added the answered For when a question was asked and we referred to forum or answered it. label Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants