mysql connect error, works, then doesn't, then works again????