recovery of mysql-error