Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xampp phpmyadmin, Incorrect format parameter

Im trying to import the database of my client side (wordpress platform) to localhost (using xampp).

Other clients' sites work OK, except for this one particular site. When I want to import it, it just showed "phpMyAdmin - Error. Incorrect format parameter". The error image

I tried googled it, but it's like no one having this error when importing a database.

Do you guys have any idea? Feel free to ask anything, I'm not sure what information I need to provide since I just using quick exporting and the import setting I just let it remain default.

like image 662
iceiceicy Avatar asked May 06 '18 16:05

iceiceicy


People also ask

What is incorrect format parameter phpMyAdmin?

Causes of the PhpMyAdmin incorrect format parameter errorIf the script needs more memory than the assigned memory value. The case when the size of the post data goes higher than the maximum post data size range. When the size of the backup file is more than the maximum file size limit.

What does incorrect format parameter mean?

Causes of phpMyAdmin error incorrect format parameter From our expertise in managing servers, incorrect format parameter appears due to multiple reasons such as: 1. Running a script more than the defined maximum execution time. 2. Similarly, if the requested data exceeds the defined limit.


1 Answers

I had the same problem recently.

I did these 3 things and it worked:

  1. Made sure the Collation of the exported database is the same as the newly created one.

  2. Made these changes in my php.ini(xampp/php/php.ini) file

    max_execution_time = 5000 max_input_time = 5000 memory_limit = 1000M post_max_size = 750M upload_max_filesize = 750M 
  3. Made this change in my \phpmyadmin\libraries\config.default.php file:

change

$cfg['ExecTimeLimit'] = 300; 

to

$cfg['ExecTimeLimit'] = 0; 

(So there is no limit)

like image 166
Kal-El Avatar answered Oct 15 '22 00:10

Kal-El