The Unexpected Database warning is issued in the following situation:
eSpace 'Database' property (<database>) does not match Platform Server database type (<database>): the Database eSpace property is different from the type of the OutSystems Platform Database.
You should set this property with the exact database type or choose (both). Besides, you should also validate whether your SQL queries are compliant with the database type you are using.
Database eSpace Property | About Warning Messages