Forums | Webyog
Tools to manage and monitor MySQL databases
forums › forums › SQLyog › Using SQLyog › Infile Works From Sqlyog But Not From Perl Or Mysql
I found the solution using the useful general log (switched on by specifying –log as a command line paramater to mysqld).
Add
$dbh->do (“set sql_mode=''”);
to your code.