Sometimes it may happen that Super User access is lost. For example maybe there was only one Super User in Matomo and this person left on holiday, left the organization, or maybe even lost access to both their email account and their Matomo password.
When Super User access is lost, we need to grant another trusted Matomo user the Super User access. You can grant Super User permission to a given account by following the steps below:
- Connect to your MySQL database
Run the following SQL query and replace the ‘username-here’ with the username for which to grant Super User permission:
UPDATE `matomo_user` SET superuser_access = 1 WHERE `login` = 'username-here'
Logout and login again as this username.
- You can now use Matomo as a Super User.