Here is the easiest way to import database using PHP language


PHP Code:
<?php
ini_set
('memory_limit''1024M'); //
//
...