Getting error "Failed to connect to database" when reconfiguring SQL database.