I post an answer, then it got deleted. I would like it undeleted. It's not spam; it answers the question.
The contents of the answer are as follows:
I have made a PHP script which is designed to import large database dumps which have been generated by phpmyadmin or mysql dump (from cpanel) . It's called PETMI and you can download it here [project page] [gitlab page].