问题描述
当我尝试在本地主机上导入 magento 数据库时遇到了一些问题.它只是导入 18 个表,但实际上它包含 383 个大约表.它给出了下面给出的错误
I am facing some problem when I am trying to import magento database on localhost. It just import 18 table but in actual it contain 383 approx table. It gives error given below
致命错误:第 253 行的/usr/share/phpmyadmin/libraries/import.lib.php 中允许的内存大小为 16777216 字节(试图分配 2089674 字节)
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2089674 bytes) in /usr/share/phpmyadmin/libraries/import.lib.php on line 253
这个问题将如何配置.需要修改php.ini吗?
How this problem will configure.
Is there need to change php.ini?
推荐答案
使用这个:
c:mysqlin> mysql -u username -p password database_name < filename.sql
使用命令行导入
或在 php.ini
or in php.ini
memory_limit = 256M
将其更改为其他更大的值.但正如丹所说,最好使用命令行.
change this to some other larger value. But as Dan said using command line is preferable.
这篇关于如何增加 phpmyadmin 的内存大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)