Creates a connection to either the live version or the test version of the Porowhita Hauwhā database. This can be used later if this function call is stored in an object. The connection to the database is not read-only, and as a result only one such connection is allowed at a time.