【问题标题】:Script timeout passed, resubmit same file and import will resume error in phpmyadmin脚本超时,重新提交相同的文件和导入将在 phpmyadmin 中恢复错误
【发布时间】:2017-09-19 15:47:45
【问题描述】:

我正在尝试将一些大数据上传到 phpmyadmin

我在部分上传时收到此错误

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

我关注了this 链接,上面写着更改\phpmyadmin\libraries\config.default.php 上的配置

我在 phpmyadmin 中看不到这个目录。操作系统 Ubuntu

【问题讨论】:

    标签: sql phpmyadmin


    【解决方案1】:

    转到 xampp/phpMyAdmin/libraries/config.default.php 找到$cfg['ExecTimeLimit'] = 300;第695行并替换$cfg['ExecTimeLimit'] = 0;

    【讨论】:

      【解决方案2】:

      我认为您的 sql 代码有问题,请尝试使用以下语句围绕您的 sql 代码(使用文本编辑器进行编辑,例如 notepad++):

      SET autocommit=0;
      SET unique_checks=0;
      SET foreign_key_checks=0;
      

      在开头,并且

      COMMIT;
      SET unique_checks=1;
      SET foreign_key_checks=1;
      

      在最后。

      您可以再次导入您的 sql 文件。 试一试。

      【讨论】:

        猜你喜欢
        • 2014-02-18
        • 2018-03-14
        • 2022-01-01
        • 2015-08-07
        • 2015-08-20
        • 1970-01-01
        • 2021-04-13
        • 2012-02-09
        相关资源
        最近更新 更多