Not that it's Perl related, but what kind of differences did you find in the my.cnf file?
In reply to Re^3: Optimizing mysql and inserts by ruzam in thread Optimizing mysql and inserts by gossamer