Cannot connect to the database: Plugin '0' is not loaded


I haven’t used my Matomo dashboard for a while. Now, when I try to access it, I get the message:

An error occurred
Cannot connect to the database:
Plugin '0' is not loaded

I do know that my hosting provider was due to “disable php < 5.6 and replace MySQL 5.7 with a more recent version”. Can this be related to the issue? If so, how can I repair the damage (or, if that’s not possible, at least transfer the data to a new installation)?

Thanks in advance!


I’d recommend you check your config.php.ini and see if the MySQL credentials are still correct and that no typo is in the plugin list (like accidently adding a 0 entry).

1 Like

Thanks! I reentered the credentials, and now I get a different error:

Mysqli prepare error: View 'information_schema.COLUMNS' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

Any more help? Also, where can I find the plugin list?


I meant the lower sections of the config.ini.php

This error comes from MySQL and is about the structure of the tables, so I would recommend you to contact the host of your database server about it.

You’re right, it seems to be a hosting issue, my provider is dealing with it. Thanks again for the quick answers!

1 Like

Thanks for the solution.