[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?SET FOREIGN_KEY_CHECKS=0' at line 1 [Err] ?SET FOREIGN_KEY_CHECKS=0; [Msg] Finished - Unsuccessfully
Hopefully someone else who is braver than I will click on your link and examine the SQL script and give you the answers. I am weary about clicking on a link that points to a SQL file, especially from a computer at work. If you don't get any responses in a timely manner, can you post the SQL script in the text of your message rather than as a link?
I can't think of an easy way to post that. Even if you did, with 86,781 lines, I doubt very many people on the forum would have the time to analyze it and give you a solution. Is it possible for you narrow down the problem to a small sample set?
Also, I just noticed that you are using MySQL. This forum is for Microsoft SQL Server, so not many people with expertise on MySQL here. You might want to try a forum dedicated to MySQL.