在数据库导入时传递脚本超时

2021-12-19 00:00:00 wamp magento mysql wampserver

我正在使用 wamp 服务器.我正在尝试在 phpmyadmin 中导入数据库.但它显示

I am using wamp server.I am trying to import the database in phpmyadmin. but its showing

脚本超时,如果您想完成导入,请重新提交相同的文件,导入将继续.

Script timeout passed, if you want to finish import, please resubmit same file and import will resume.

如果我检查数据库表,只有少数表被导入..如何解决这个问题.提前致谢

And if i check the database tables only few tables are imported..How to resolve this.Thanks in advance

推荐答案

添加以下代码

$cfg['ExecTimeLimit'] = 0;

在您的 phpmyadmin config.inc.php 中,它将解决您的超时问题,这应该适用于 XAMPP 和 WAMP

in your phpmyadmin config.inc.php and it will solve your timeout problem, this should work on both XAMPP and WAMP

相关文章