I cannot tell in details what happened on the server side.
But before 5.22 we used a query like “SELECT …FROM INFORMATION_SCHEMA ….”, now we “SHOW … STATUS ..”.
Basically it is a configuration error on the server! You should be able to SELECT details from INFORMATION_SCHEMA the details of those objects that are accessible from the user account that you are using!