PHPMyAdmin very slow inserts
The table is probably ENGINE=InnoDB.  The default is probably to commit a transaction after every INSERT.  You seem to be inserting one row at a time.  Is the input file a list of INSERTs?  Where did it come from?  If it came from mysqldump, re run the dump with the option to do multi-row inserts.  If the data is just text, arrange to use LOAD DATA.

Can you connect to mysql from another server?  That way you won't be limited to phpmyadmin.  Etc.

Check the Arabic.  Non-English characters cause trouble for a lot of people.  If they are mangled, you may need to reload after changing something.