Corrected broken mysql connect