{"id":5997,"date":"2021-04-28T06:45:47","date_gmt":"2021-04-28T06:45:47","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=5997"},"modified":"2022-04-13T16:34:46","modified_gmt":"2022-04-13T16:34:46","slug":"php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/","title":{"rendered":"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When you install first-time XAMPP and import a large file in the database the that if Maximum execution time of 300 seconds exceeded will be showing this type of error in your database:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, There&#8217;s a configuration variable within the phpMyAdmin directory that you can find in below path-<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;C:\\xampp\\phpMyAdmin\\libraries\\config.default.php&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">after find this below line-<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;$cfg[&#8216;ExecTimeLimit&#8217;] = 300;&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"99\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png\" alt=\"\" class=\"wp-image-5998\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png 966w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout-300x31.png 300w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout-768x79.png 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">and replace below line-<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;$cfg[&#8216;ExecTimeLimit&#8217;] = 0;&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">that you can set to whatever maximum execution time you need. After that your problem will be solved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you install first-time XAMPP and import a large file in the database the that if Maximum execution time of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5049],"tags":[5250,5247,5246,177,421],"class_list":["post-5997","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-exceeded","tag-importing","tag-maximum_excution_time_out","tag-php","tag-sql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded) - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded) - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"When you install first-time XAMPP and import a large file in the database the that if Maximum execution time of [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-28T06:45:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-13T16:34:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png\" \/>\n<meta name=\"author\" content=\"rajeshkumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rajeshkumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/\"},\"author\":{\"name\":\"rajeshkumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"headline\":\"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded)\",\"datePublished\":\"2021-04-28T06:45:47+00:00\",\"dateModified\":\"2022-04-13T16:34:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/\"},\"wordCount\":102,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/maximum-execution-timeout.png\",\"keywords\":[\"exceeded\",\"importing\",\"maximum_excution_time_out\",\"Php\",\"sql\"],\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/\",\"name\":\"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded) - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/maximum-execution-timeout.png\",\"datePublished\":\"2021-04-28T06:45:47+00:00\",\"dateModified\":\"2022-04-13T16:34:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/maximum-execution-timeout.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/maximum-execution-timeout.png\",\"width\":966,\"height\":99},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\",\"name\":\"rajeshkumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g\",\"caption\":\"rajeshkumar\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/rajeshkumar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded) - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/","og_locale":"en_US","og_type":"article","og_title":"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded) - scmGalaxy","og_description":"When you install first-time XAMPP and import a large file in the database the that if Maximum execution time of [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/","og_site_name":"scmGalaxy","article_published_time":"2021-04-28T06:45:47+00:00","article_modified_time":"2022-04-13T16:34:46+00:00","og_image":[{"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png","type":"","width":"","height":""}],"author":"rajeshkumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rajeshkumar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/"},"author":{"name":"rajeshkumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"headline":"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded)","datePublished":"2021-04-28T06:45:47+00:00","dateModified":"2022-04-13T16:34:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/"},"wordCount":102,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png","keywords":["exceeded","importing","maximum_excution_time_out","Php","sql"],"articleSection":["Laravel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/","name":"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded) - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png","datePublished":"2021-04-28T06:45:47+00:00","dateModified":"2022-04-13T16:34:46+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/04\/maximum-execution-timeout.png","width":966,"height":99},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/php-maximum-execution-time-when-importing-sql-data-file-maximum-execution-time-of-300-seconds-exceeded\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded)"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361","name":"rajeshkumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/82337e1fc8642c7f36795aa0775af055a4f38882994004b593efd31758d4434e?s=96&d=mm&r=g","caption":"rajeshkumar"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/rajeshkumar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=5997"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5997\/revisions"}],"predecessor-version":[{"id":6003,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5997\/revisions\/6003"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=5997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=5997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=5997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}