Unexpected Database warning is issued in the following situation:
module 'Database' property (<database>) does not match Platform Server database type (<database>)
The Database module 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.