mysql文件太大导入出错的解决方法
https://www.flypeng.com win10系统 发布时间:2015-03-16 00:00 来源:鹏鹏电脑知识网
mysql文件太大时,导入时经常会出现错误,比如:

No data was received to import. Either no file name was submitted, 

or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16



又或者出现这样的错误:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4658012 bytes) in 

D:\\AppServ\\www\\phpMyAdmin\\libraries\\unzip.lib.php on line 324



这时候除了可以修改php.ini的配置以外,还可以使用“命令行”方法处理。

假设数据库是"inputData",要导入的数据在"D:\\inputData.sql",那么具体操作如下:
开始->运行->cmd
C:\\Documents and Settings\\Administrator>d:
D:\\>mysql -u用户名 -p inputData < inputData.sql
回车后,输入密码,然后导入文件成功

如果你有好的win10资讯或者win10教程,以及win10相关的问题想要获得win10系统下载的关注与报道。
欢迎加入发送邮件到#qq.com(#替换为@)。期待你的好消息!