MySQL导入文件太大出现问题的解决办法。使用phpMyAdmin导入的数据库大小大于2M的时出现如下储出错的提示:
No data was received to import. Either no file name was submitted,or the file size exceeded the maximum size permitted by your PHPconfiguration. See FAQ 1.16. |
解决方法:打开D:/php/php.ini 修改配置文件,查找以下三个地方upload_max_filesize,memory_limit,post_max_size,将其值修改为大于要导入的数据库大小的值,重启Apache,这样就可以导入大于2M的数据库文件了。