Fxied some mySQL errors.