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
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
If you see the error immediately after uploading the file
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
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.
I had the same problem recently.
I did these 3 things and it worked:
Made sure the Collation of the exported database is the same as the newly created one.
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
Made this change in my \phpmyadmin\libraries\config.default.php file:
change
$cfg['ExecTimeLimit'] = 300;
to
$cfg['ExecTimeLimit'] = 0;
(So there is no limit)
Another solution would be to compress the sql file in .zip and upload it