Check for MySQL and Postgre version

Checks for the Postgre and MYSQL version in the compatibility tags

Note I've just written this over my lunch break at work - so haven't actually tested it yet!!!