-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Provide new system check diagnostic for required database priviliges #17433
Comments
fyi I believe we may have this check in Matomo for WordPress already if I remember correctly. Not 100% sure though. Before working on this we could check what's there and potentially reuse ( or move it to core) |
There is a check prior the installation here: matomo/plugins/Installation/FormDatabaseSetup.php Lines 209 to 289 in dd3af29
But if the permissions are changed after Matomo was set up, I guess that would not automatically be detected somewhere. |
Summary
Matomo does not report if the database user does not have enough privileges to perform installation and update logic. One would expect that there would be an error thrown in this case, but it seems possible for this to fail silently. In this case, a diagnostic that checked for required privileges before installing would be helpful.
Refs #17420 (comment)
The text was updated successfully, but these errors were encountered: