In https://github.com/wmde/wbaas-deploy/pull/19 we bumped the sql version from 10.5.12 to 10.3.22
And started seeing:
Access denied; you need (at least one of) the SUPER, SLAVE MONITOR privilege(s)
Per docs the permissions that we need has changed https://mariadb.com/kb/en/show-replica-status/#description
This statement requires the SUPER privilege, the REPLICATION_CLIENT privilege, or, from MariaDB 10.5.2, the REPLICATION SLAVE ADMIN privilege, or, from MariaDB 10.5.9, the REPLICA MONITOR privilege.
We now need to grant REPLICA MONITOR to mediawiki-db-manager and to mediawiki accounts when we are using a newer sql version like this.
The change to the SQL init script will likley be needed first, then the change to the API that creates mediawiki accounts.