Remove duplicate error log for mysql