{"id":11042,"date":"2023-12-29T10:06:18","date_gmt":"2023-12-29T10:06:18","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=11042"},"modified":"2023-12-29T10:06:19","modified_gmt":"2023-12-29T10:06:19","slug":"mysql-error-with-xampp-script-timeout-passed","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/","title":{"rendered":"Mysql error with Xampp &#8211; script timeout passed"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Error<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>script timeout passed, if you want to finish import, please resubmit the same file and import will resume.<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Solution<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Method &#8211; 1 &#8211; import using Mysql command<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>set PATH=%PATH%;C:\\xampp\\mysql\\bin\r\n\r\n$ mysql -u root -p database_name &lt; example.sql<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Method &#8211; 1 &#8211; import using PHPMYADMIN<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s an example snippet with these settings in a <code>php.ini<\/code> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>file_uploads = On\r\nupload_max_filesize = 2M\r\npost_max_size = 8M\r\nmax_execution_time = 300\r\nmax_input_time = 600\r\nmemory_limit = 256M\r\n\r\nmysqli.allow_local_infile = On\r\nmysqli.default_socket = \/path\/to\/mysql.sock\r\n\r\nerror_reporting = E_ALL\r\n<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Max Upload Size in phpMyAdmin<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Log in to phpMyAdmin.<\/li>\n\n\n\n<li>Click on the &#8220;Import&#8221; tab.<\/li>\n\n\n\n<li>Below the file upload field, phpMyAdmin displays the maximum allowed file size. Ensure that this limit is appropriate for your needs.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>PHP Settings<\/strong> (Modify these in your <code>php.ini<\/code> or <code>.htaccess<\/code> file):\n<ul class=\"wp-block-list\">\n<li><code>upload_max_filesize<\/code>: Specifies the maximum size of uploaded files. Ensure it&#8217;s set to a value that allows the size of the files you want to upload.<\/li>\n\n\n\n<li><code>post_max_size<\/code>: Sets the maximum size of POST data that PHP will accept. It should be larger than <code>upload_max_filesize<\/code> to accommodate the entire POST request.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>phpMyAdmin Configuration<\/strong> (Modify these in phpMyAdmin&#8217;s configuration file <code>config.inc.php<\/code>):\n<ul class=\"wp-block-list\">\n<li>Open the <code>config.inc.php<\/code> file, which is typically located in the phpMyAdmin installation directory.<\/li>\n\n\n\n<li>Locate and adjust the following settings:\n<ul class=\"wp-block-list\">\n<li><code>$cfg['UploadDir']<\/code>: This setting specifies the directory where phpMyAdmin should store uploaded files. Make sure it&#8217;s a valid directory path, and the web server has write permissions to it.<\/li>\n\n\n\n<li><code>$cfg['SaveDir']<\/code>: This setting specifies the directory where phpMyAdmin should save exported files. Ensure it&#8217;s a valid directory path, and the web server has write permissions to it.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>MySQL Settings<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Ensure that your MySQL server allows for large file imports. You may need to adjust the MySQL server&#8217;s configuration settings, such as <code>max_allowed_packet<\/code>, to accommodate large imports.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Error Solution Method &#8211; 1 &#8211; import using Mysql command Method &#8211; 1 &#8211; import using PHPMYADMIN Here&#8217;s an example [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11042","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mysql error with Xampp - script timeout passed - 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\/mysql-error-with-xampp-script-timeout-passed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mysql error with Xampp - script timeout passed - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Error Solution Method &#8211; 1 &#8211; import using Mysql command Method &#8211; 1 &#8211; import using PHPMYADMIN Here&#8217;s an example [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-29T10:06:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-29T10:06:19+00:00\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/\"},\"author\":{\"name\":\"rajeshkumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"headline\":\"Mysql error with Xampp &#8211; script timeout passed\",\"datePublished\":\"2023-12-29T10:06:18+00:00\",\"dateModified\":\"2023-12-29T10:06:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/\"},\"wordCount\":235,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/\",\"name\":\"Mysql error with Xampp - script timeout passed - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2023-12-29T10:06:18+00:00\",\"dateModified\":\"2023-12-29T10:06:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/a40e0dd38feee7c2779460a804d49361\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/mysql-error-with-xampp-script-timeout-passed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mysql error with Xampp &#8211; script timeout passed\"}]},{\"@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":"Mysql error with Xampp - script timeout passed - 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\/mysql-error-with-xampp-script-timeout-passed\/","og_locale":"en_US","og_type":"article","og_title":"Mysql error with Xampp - script timeout passed - scmGalaxy","og_description":"Error Solution Method &#8211; 1 &#8211; import using Mysql command Method &#8211; 1 &#8211; import using PHPMYADMIN Here&#8217;s an example [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/","og_site_name":"scmGalaxy","article_published_time":"2023-12-29T10:06:18+00:00","article_modified_time":"2023-12-29T10:06:19+00:00","author":"rajeshkumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rajeshkumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/"},"author":{"name":"rajeshkumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"headline":"Mysql error with Xampp &#8211; script timeout passed","datePublished":"2023-12-29T10:06:18+00:00","dateModified":"2023-12-29T10:06:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/"},"wordCount":235,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/","name":"Mysql error with Xampp - script timeout passed - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2023-12-29T10:06:18+00:00","dateModified":"2023-12-29T10:06:19+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/a40e0dd38feee7c2779460a804d49361"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/mysql-error-with-xampp-script-timeout-passed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Mysql error with Xampp &#8211; script timeout passed"}]},{"@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\/11042","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=11042"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/11042\/revisions"}],"predecessor-version":[{"id":11043,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/11042\/revisions\/11043"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=11042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=11042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=11042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}