Basic database connection.