Here are the solutions to solve the problem:
1. Increase the values for upload_max_filesize, memory_limit and post_max_size directories in php.ini as per requirements and restart the server
2. You can upload large sql files by changing some configuration settings in C:\xampp\phpmyadmin\config.inc.php file.
Open the config.inc.php file and look for $cfg['UploadDir'] and update it as $cfg['UploadDir'] = "upload". If you dont find just open a config.sample.inc.php and copy that line and paste into your actuall config.inc.php file and update as i mentioned above. Finally it will be:
$cfg['UploadDir'] = "upload"
Save the file and create upload folder under phpmyadmin folder.
C:\xampp\apps\phpmyadmin\upload\
Then copy your all .sql files into this folder.
Now when you go to phpmyadmin import page you will see a drop down with list of .sql files below the browse button.
You can now select this and begin the import.
If your having problem in Windows 7 and 32 bit system you need verify that your values should be under 2048M, then only it will work.
Reason:
"The largest signed integer for a 32bit operating system is -2,147,483,647 - 2,147,483,647 since 2048M = 2147483648 bytes, it was going higher than it could calculate, so it was defaulting to a negative integer. Hence the reason why the log file states -2147483648 bytes."
If you get Script timeout passed, if you want to finish import, please resubmit same file and import will resume.
add
1. Increase the values for upload_max_filesize, memory_limit and post_max_size directories in php.ini as per requirements and restart the server
2. You can upload large sql files by changing some configuration settings in C:\xampp\phpmyadmin\config.inc.php file.
Open the config.inc.php file and look for $cfg['UploadDir'] and update it as $cfg['UploadDir'] = "upload". If you dont find just open a config.sample.inc.php and copy that line and paste into your actuall config.inc.php file and update as i mentioned above. Finally it will be:
$cfg['UploadDir'] = "upload"
Save the file and create upload folder under phpmyadmin folder.
C:\xampp\apps\phpmyadmin\upload\
Then copy your all .sql files into this folder.
Now when you go to phpmyadmin import page you will see a drop down with list of .sql files below the browse button.
You can now select this and begin the import.
If your having problem in Windows 7 and 32 bit system you need verify that your values should be under 2048M, then only it will work.
Reason:
"The largest signed integer for a 32bit operating system is -2,147,483,647 - 2,147,483,647 since 2048M = 2147483648 bytes, it was going higher than it could calculate, so it was defaulting to a negative integer. Hence the reason why the log file states -2147483648 bytes."
If you get Script timeout passed, if you want to finish import, please resubmit same file and import will resume.
add
$cfg
[
'ExecTimeLimit'
] = 0; this line in config.inc.php file.
By default setting for ExecTimeLimit is 300 seconds.