It does not need sudo to connect to a db server. But the error says that it cant connet too the db 🙂 Something else must be wrong here!