xampp phpmyadmin, Incorrect format parameter

Deadly 提交于 2019-12-18 10:44:18

问题


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.


回答1:


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)




回答2:


In my case, I was importing the database and I didn't select a database and I was trying to import, so make sure you have selected a database before importing




回答3:


Another solution would be to compress the sql file in .zip and upload it



来源:https://stackoverflow.com/questions/50201874/xampp-phpmyadmin-incorrect-format-parameter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!