{"id":50429,"date":"2026-11-20T05:24:09","date_gmt":"2026-11-20T05:24:09","guid":{"rendered":"https:\/\/kickhost.com\/guides\/how-to-import-a-database-via-phpmyadmin-in-cpanel\/"},"modified":"2026-11-28T09:02:46","modified_gmt":"2026-11-28T09:02:46","slug":"how-to-import-a-database-via-phpmyadmin-in-cpanel","status":"publish","type":"kickhost_tutorial","link":"https:\/\/kickhost.com\/en-ke\/guides\/how-to-import-a-database-via-phpmyadmin-in-cpanel\/","title":{"rendered":"How to Import a Database via phpMyAdmin in cPanel"},"content":{"rendered":"<p>Importing an SQL file restores or moves a database. It is the usual step when you move a website to a new hosting account.<\/p>\n<p><strong>1.<\/strong> Log in to your cPanel account.<\/p>\n<p><strong>2.<\/strong> In the <strong>Databases<\/strong> section, click on <strong>phpMyAdmin<\/strong>.<br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/phpmyadmin-icon.gif\" alt=\"\" loading=\"lazy\"><\/p>\n<p><strong>3.<\/strong> From the navigation tree in the left sidebar, select an appropriate database in which you want to import data using the SQL file.<br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/phpmyadmin-expand-db.gif\" alt=\"\" loading=\"lazy\"><\/p>\n<p><strong><br \/>4. <\/strong>Click on <strong>Import<\/strong>.<br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/phpmyadmin-import.gif\" alt=\"\" loading=\"lazy\"><strong><\/p>\n<p><strong>5. <\/strong><\/strong>Under <strong>File to import<\/strong>, click on <strong>Choose File<\/strong> and select SQL file from your computer.<strong><br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/phpmyadmin-import2.gif\" alt=\"\" loading=\"lazy\"><\/p>\n<p><strong>6.<\/strong> <\/strong>Scroll down and click on <strong>Import<\/strong>.<strong><\/p>\n<p><\/strong>If it shows a success message, your SQL has been successfully uploaded.<strong><br \/><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/phpmyadmin-successfully.gif\" alt=\"\" loading=\"lazy\"><\/strong><\/p>\n<h2>Before you import<\/h2>\n<p>Select the correct empty or target database. Importing into the wrong one can overwrite data, so export a backup first.<\/p>\n<h2>If the import fails<\/h2>\n<p>Large files can time out. Compress the file as zip or split it, or ask our support team to import it for you.<\/p>\n<h2>Frequently asked questions<\/h2>\n<p><strong>What file types can I import?<\/strong> phpMyAdmin accepts SQL files and compressed formats such as zip and gzip.<\/p>\n<p><strong>What if the file is too large?<\/strong> Split the file, or contact support to import it from the server side.<\/p>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"https:\/\/kickhost.com\/en-ke\/guides\/how-to-export-database-table-via-phpmyadmin-in-cpanel\/\">Export a database table<\/a><\/li>\n<li><a href=\"https:\/\/kickhost.com\/en-ke\/guides\/how-to-create-a-database-username-in-cpanel\/\">Create a database username<\/a><\/li>\n<\/ul>\n<p>Need cPanel hosting in Kenya? <a href=\"https:\/\/kickhost.com\/en-ke\/web-hosting\/\">See KickHost hosting plans<\/a> or <a href=\"https:\/\/kickhost.com\/en-ke\/contact\/\">contact our team<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Import an SQL file into a database using phpMyAdmin in cPanel. Steps for KickHost customers in Kenya.<\/p>\n","protected":false},"featured_media":0,"template":"","class_list":["post-50429","kickhost_tutorial","type-kickhost_tutorial","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kickhost.com\/en-ke\/wp-json\/wp\/v2\/kickhost_tutorial\/50429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kickhost.com\/en-ke\/wp-json\/wp\/v2\/kickhost_tutorial"}],"about":[{"href":"https:\/\/kickhost.com\/en-ke\/wp-json\/wp\/v2\/types\/kickhost_tutorial"}],"version-history":[{"count":2,"href":"https:\/\/kickhost.com\/en-ke\/wp-json\/wp\/v2\/kickhost_tutorial\/50429\/revisions"}],"predecessor-version":[{"id":53374,"href":"https:\/\/kickhost.com\/en-ke\/wp-json\/wp\/v2\/kickhost_tutorial\/50429\/revisions\/53374"}],"wp:attachment":[{"href":"https:\/\/kickhost.com\/en-ke\/wp-json\/wp\/v2\/media?parent=50429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}