Connect directly to a database

Use the database server's own credentials. The session lives only as long as you stay logged in.