Version v0.40 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Please see our list of officially supported databases. There are also community-built database drivers for databases that we do not currently support, and you are always welcome to build your own.