Fix mysql and postgresql tests
Merge branch 'pure-python-db-checks' into omnibus_bundling