Error 1064 (42000)

# If import from a dump fails, try using -f or --force option

mysql -f -u username database -p < database.sql

# If --force does not works, replace INSERT with INSERT IGNORE in your sql file

sed -e "s/^INSERT INTO/INSERT IGNORE INTO/" < database.sql | mysql -u username database -p
alequenildo