Correct dsn usage in connect method