adds database connect error