finished video 23: establishing connection to database