• <bdo id='4BBs4'></bdo><ul id='4BBs4'></ul>

      <legend id='4BBs4'><style id='4BBs4'><dir id='4BBs4'><q id='4BBs4'></q></dir></style></legend>
    1. <small id='4BBs4'></small><noframes id='4BBs4'>

        <i id='4BBs4'><tr id='4BBs4'><dt id='4BBs4'><q id='4BBs4'><span id='4BBs4'><b id='4BBs4'><form id='4BBs4'><ins id='4BBs4'></ins><ul id='4BBs4'></ul><sub id='4BBs4'></sub></form><legend id='4BBs4'></legend><bdo id='4BBs4'><pre id='4BBs4'><center id='4BBs4'></center></pre></bdo></b><th id='4BBs4'></th></span></q></dt></tr></i><div id='4BBs4'><tfoot id='4BBs4'></tfoot><dl id='4BBs4'><fieldset id='4BBs4'></fieldset></dl></div>
      1. <tfoot id='4BBs4'></tfoot>

        PHP:导入 .SQL 数据文件时的最长执行时间

        PHP: maximum execution time when importing .SQL data file(PHP:导入 .SQL 数据文件时的最长执行时间)
            1. <small id='TfNnF'></small><noframes id='TfNnF'>

              <i id='TfNnF'><tr id='TfNnF'><dt id='TfNnF'><q id='TfNnF'><span id='TfNnF'><b id='TfNnF'><form id='TfNnF'><ins id='TfNnF'></ins><ul id='TfNnF'></ul><sub id='TfNnF'></sub></form><legend id='TfNnF'></legend><bdo id='TfNnF'><pre id='TfNnF'><center id='TfNnF'></center></pre></bdo></b><th id='TfNnF'></th></span></q></dt></tr></i><div id='TfNnF'><tfoot id='TfNnF'></tfoot><dl id='TfNnF'><fieldset id='TfNnF'></fieldset></dl></div>
              <tfoot id='TfNnF'></tfoot>
                <bdo id='TfNnF'></bdo><ul id='TfNnF'></ul>

                  <tbody id='TfNnF'></tbody>
                <legend id='TfNnF'><style id='TfNnF'><dir id='TfNnF'><q id='TfNnF'></q></dir></style></legend>
                  本文介绍了PHP:导入 .SQL 数据文件时的最长执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试在 XAMPP 中使用 phpMyAdmin 导入一个大型 .sql 数据文件.但是,这需要花费很多时间,而且我不断收到:

                  I am trying to import a large .sql data file using phpMyAdmin in XAMPP. However this is taking a lot of time and I keep getting:

                  致命错误:在 C:xamppphpMyAdminlibrariesdbiDBIMysqli.class.php 中第 285 行超出了 300 秒的最大执行时间

                  Fatal error: Maximum execution time of 300 seconds exceeded in C:xamppphpMyAdminlibrariesdbiDBIMysqli.class.php on line 285

                  该文件大约有 120 万行.

                  And the file is about 1.2 million lines long.

                  这个文件大约有 30MB 大,所以不是那么大.我真的不明白为什么要花这么长时间.

                  The file is about 30MB big, so it is not that big. I don't really understand why it is taking so long.

                  ;;;;;;;;;;;;;;;;;;;
                  ; Resource Limits ;
                  ;;;;;;;;;;;;;;;;;;;
                  
                  ; Maximum execution time of each script, in seconds
                  ; http://php.net/max-execution-time
                  ; Note: This directive is hardcoded to 0 for the CLI SAPI
                  max_execution_time=30000
                  
                  ; Maximum amount of time each script may spend parsing request data. It's a good
                  ; idea to limit this time on productions servers in order to eliminate unexpectedly
                  ; long running scripts.
                  ; Note: This directive is hardcoded to -1 for the CLI SAPI
                  ; Default Value: -1 (Unlimited)
                  ; Development Value: 60 (60 seconds)
                  ; Production Value: 60 (60 seconds)
                  ; http://php.net/max-input-time
                  max_input_time=60
                  
                  ; Maximum input variable nesting level
                  ; http://php.net/max-input-nesting-level
                  ;max_input_nesting_level = 64
                  
                  ; How many GET/POST/COOKIE input variables may be accepted
                  ; max_input_vars = 1000
                  
                  ; Maximum amount of memory a script may consume (128MB)
                  ; http://php.net/memory-limit
                  memory_limit=200M
                  

                  这是xampp中php.ini的配置文件,由于某种原因我仍然得到

                  The is the config file for php.ini in xampp, for some reason i still get

                  致命错误:在 C:xamppphpMyAdminlibrariesdbiDBIMysqli.class.php 中第 285 行超出了 300 秒的最大执行时间.

                  Fatal error: Maximum execution time of 300 seconds exceeded in C:xamppphpMyAdminlibrariesdbiDBIMysqli.class.php on line 285.

                  推荐答案

                  在 phpMyAdmin 目录中有一个配置变量,您可以在 librariesconfig.default.php 中找到它,名为 $cfg['ExecTimeLimit'] 您可以将其设置为您需要的任何最长执行时间.

                  There's a configuration variable within the phpMyAdmin directory that you can find in librariesconfig.default.php called $cfg['ExecTimeLimit'] that you can set to whatever maximum execution time you need.

                  这篇关于PHP:导入 .SQL 数据文件时的最长执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                    <tbody id='16kkJ'></tbody>
                      • <tfoot id='16kkJ'></tfoot>
                        <legend id='16kkJ'><style id='16kkJ'><dir id='16kkJ'><q id='16kkJ'></q></dir></style></legend>

                        1. <i id='16kkJ'><tr id='16kkJ'><dt id='16kkJ'><q id='16kkJ'><span id='16kkJ'><b id='16kkJ'><form id='16kkJ'><ins id='16kkJ'></ins><ul id='16kkJ'></ul><sub id='16kkJ'></sub></form><legend id='16kkJ'></legend><bdo id='16kkJ'><pre id='16kkJ'><center id='16kkJ'></center></pre></bdo></b><th id='16kkJ'></th></span></q></dt></tr></i><div id='16kkJ'><tfoot id='16kkJ'></tfoot><dl id='16kkJ'><fieldset id='16kkJ'></fieldset></dl></div>

                        2. <small id='16kkJ'></small><noframes id='16kkJ'>

                            <bdo id='16kkJ'></bdo><ul id='16kkJ'></ul>