in reply to Import dump file into mysql DB using DBI

siva kumar:

Use the command-line interface and check out the command in your $sql variable. Once you get it working there, then try it with your code.

I can't be any more specific, because the error message indicates a problem in your SQL which you haven't bothered to provide.

...roboticus