Possible reason why this happens is, that your mysql user, which you use for connecting PAP4 to database has no rights on system table INFORMATION_SCHEMA.TABLES.
To resolve this issue, you should assign to your mysql user also read privilege on table TABLES in system database INFORMATION_SCHEMA.