{"id":1004,"date":"2021-07-27T08:49:45","date_gmt":"2021-07-27T08:49:45","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=1004"},"modified":"2021-07-27T12:28:03","modified_gmt":"2021-07-27T12:28:03","slug":"how-to-import-a-mysql-database-in-cpanel","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/","title":{"rendered":"How to Import a MySQL Database in cPanel"},"content":{"rendered":"<p>You may need to import a database if you&#8217;re undertaking disaster recovery or migrating your web site to a new hosting solution. Before you&#8217;ll be able to proceed with this method, you&#8217;ll 1st need to create a database backup to import. Here are the steps you&#8217;ll need to undertake so as to import a database backup.<\/p>\n<ol>\n<li>Log into your\u00a0<strong>cPanel<\/strong>\u00a0account.<\/li>\n<li>Scroll down to the\u00a0<strong>Databases<\/strong>\u00a0section and click on\u00a0<strong>phpMyAdmin.<\/strong><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1005\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.1-300x43.png\" alt=\"cpanel-4.1\" width=\"1014\" height=\"147\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.1-300x43.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.1-768x111.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.1.png 1014w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/p>\n<p>3. When phpMyAdmin opens, click the\u00a0<strong>Import tab<\/strong>\u00a0at the top of the page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1006\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.2-300x24.png\" alt=\"cpanel-4.2\" width=\"557\" height=\"45\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.2-300x24.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.2.png 557w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/p>\n<p>4. When the Import page opens, go to the\u00a0<strong>File to import<\/strong>\u00a0section at the top. Click on the\u00a0<strong>Choose file<\/strong>\u00a0button. This will open a dialog box from where you can find the\u00a0<strong>database backup file<\/strong>\u00a0you wish to import from your device.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1007\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.3-300x138.png\" alt=\"cpanel-4.3\" width=\"425\" height=\"196\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.3-300x138.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.3.png 425w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/p>\n<p>5. After you have chosen the file you want to import, leave the settings below with their default values and click the <strong>Go<\/strong>\u00a0button.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may need to import a database if you&#8217;re undertaking disaster recovery or migrating your web site to a new hosting solution. Before you&#8217;ll be able to proceed with this method, you&#8217;ll 1st need to create a database backup to import. Here are the steps you&#8217;ll need to undertake so as to import a database [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1004","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Import a MySQL Database in cPanel - OWS KB<\/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:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Import a MySQL Database in cPanel - OWS KB\" \/>\n<meta property=\"og:description\" content=\"You may need to import a database if you&#8217;re undertaking disaster recovery or migrating your web site to a new hosting solution. Before you&#8217;ll be able to proceed with this method, you&#8217;ll 1st need to create a database backup to import. Here are the steps you&#8217;ll need to undertake so as to import a database [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-27T08:49:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-27T12:28:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.1-300x43.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\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\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/07\/cpanel-4.1.png\",\"width\":1014,\"height\":147,\"caption\":\"cpanel-4.1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/\",\"name\":\"How to Import a MySQL Database in cPanel - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/#primaryimage\"},\"datePublished\":\"2021-07-27T08:49:45+00:00\",\"dateModified\":\"2021-07-27T12:28:03+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-import-a-mysql-database-in-cpanel\/\",\"name\":\"How to Import a MySQL Database in cPanel\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=1004"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1004\/revisions"}],"predecessor-version":[{"id":1008,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1004\/revisions\/1008"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=1004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=1004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=1004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}