Hey, found a problem with the import function and I got this error: "Import Error: Access denied; you need the SUPER privilege for this operation".
I've read that a query must be ran before import: "GRANT SUPER ON [db_name] TO '[username]'@'localhost' IDENTIFIED BY '[password]';" but I did not have time to look over your code and add it.
I tested on a shared host, where I have installed my version of phpMyAdmin which worked without any problems. And also I've noticed that /*!...*/ commands caused the problem.