Same as previous commit, fixed db connect.