To deal with this problem, a study has found that there are 2 ways:
Method One:
Find PHP.ini Search These 3 places upload_max_filesize, Memory_limit and Post_max_size
It would be nice to change the value behind them to larger than the size of the database you need to import.
Then restart the PHP environment.
Method Two: Take Phpmyadmin-3.1.0-all-languages as an example, my installation directory E:\wwwroot\phpMyAdmin\
1. Create a new directory upload in the phpMyAdmin directory.
2. Open PhpMyAdmin, locate the E:\wwwroot\phpMyAdmin\config.sample.inc.php file, locate and modify it as $cfg [' uploaddir '] = "upload"; then click Save.
Then open the E:\wwwroot\phpMyAdmin\libraries\config.default.php file and locate and modify it as $cfg [' uploaddir '] = "upload"; then click Save.
3. Upload the SQL file you want to import with FTP to phpmyadmin/upload/
4. To access phpMyAdmin, click Import (Import), the Select the file on the Server drop-down box, select the SQL file just uploaded with FTP. This is the perfect solution.
When you finally open http://www.xx.com/phpmyadmin/login, click Import to see.
http://www.bkjia.com/PHPjc/780485.html www.bkjia.com true http://www.bkjia.com/PHPjc/780485.html techarticle to deal with this problem, a study found that there are 2 ways: Method One: Find PHP.ini search for these 3 places Upload_max_filesize, Memory_limit and post_max_size will be behind them ...