Custom Module Access Different Database


In a custom module I want to access a different database than the one Magento2 is using.
The database is on the same mysql server.

Anyone know how to do this?