xampp phpmyadmin, Incorrect format parameter

前端 未结 5 1463
被撕碎了的回忆
被撕碎了的回忆 2020-12-23 17:49

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 si

相关标签:
5条回答
  • 2020-12-23 17:57

    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

    0 讨论(0)
  • 2020-12-23 17:59

    If you see the error immediately after uploading the file

    1. Make sure the character set of old database matches with the new one

    If you see the error after few seconds of uploading the file Try editing your php.ini file

    max_execution_time = 5000
    max_input_time = 5000
    memory_limit = 1000M
    post_max_size = 750M
    upload_max_filesize = 750M
    
    0 讨论(0)
  • 2020-12-23 18:18

    I have had the same problem that is mentioned and the solution has been to compress it in a .zip and upload it since it weighed more than 40mb which is the maximum import. This has solved the problem.

    0 讨论(0)
  • 2020-12-23 18:22

    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)

    0 讨论(0)
  • 2020-12-23 18:23

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

    0 讨论(0)
提交回复
热议问题