Does anyone know the solution to error #1064 for phpMyAdmin?

I was just trying to upload a restore through the phpMyAdmin for a site and got this error:

#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 ‘example_com_db.sql’ at line 1

The backup was made with backWPup as a .tar.gz file. I’ve tried finding a solution to this but came up empty handed after several attempts.