{"id":8195,"date":"2019-08-30T06:52:44","date_gmt":"2019-08-30T06:52:44","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=8195"},"modified":"2021-05-11T13:14:34","modified_gmt":"2021-05-11T13:14:34","slug":"learn-to-import-sql-file-into-a-postgre-database","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/","title":{"rendered":"Learn to import .sql file into a Postgre database"},"content":{"rendered":"<p>Perform the following steps to import .sql file into a Postgre database :<\/p>\n<p>(i) Log in to your cPanel account.<\/p>\n<p>(ii) Open <strong>phpPgAdmin<\/strong> tool.<\/p>\n<p>(iii) Now click on the <strong>PostgreSQL<\/strong> link present at the left tree menu and log in to the <strong>Postgre<\/strong> server using your cPanel details.<\/p>\n<p>(iv) Identify and select the database that you want to import data into and then click on the <strong>SQL<\/strong> button.<\/p>\n<p>(v) Select one of the two options :<\/p>\n<p>(a) Either paste the SQL queries in the provided field or<\/p>\n<p>(b) Upload a local file to be executed.<\/p>\n<p>Press the <strong>Browse<\/strong> button and locate the .sql file on your local computer, to execute a <strong>local Postgre SQL script<\/strong>.<\/p>\n<p>(iv) Click on the <strong>Run<\/strong> button. Queries from your file will get uploaded and executed on your database.<\/p>\n<p>That&#8217;s it!<\/p>\n<p><strong>Also Read :<\/strong><\/p>\n<p><strong>1)\u00a0<a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-create-a-new-mysql-database\/\">How To Create A New MySQL Database?<\/a><\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perform the following steps to import .sql file into a Postgre database : (i) Log in to your cPanel account. (ii) Open phpPgAdmin tool. (iii) Now click on the PostgreSQL link present at the left tree menu and log in to the Postgre server using your cPanel details. (iv) Identify and select the database that [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[230],"tags":[1000,990,999],"class_list":["post-8195","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-database","tag-import-sql","tag-postgre","tag-sql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Learn to import .sql file into a Postgre database - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"This article guides you on how to import .sql file into a Postgre database.\" \/>\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.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn to import .sql file into a Postgre database - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"This article guides you on how to import .sql file into a Postgre database.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-30T06:52:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-11T13:14:34+00:00\" \/>\n<meta name=\"author\" content=\"Sonam Wagh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sonam Wagh\" \/>\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.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/\"},\"author\":{\"name\":\"Sonam Wagh\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\"},\"headline\":\"Learn to import .sql file into a Postgre database\",\"datePublished\":\"2019-08-30T06:52:44+00:00\",\"dateModified\":\"2021-05-11T13:14:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/\"},\"wordCount\":153,\"commentCount\":0,\"keywords\":[\"import .sql\",\"postgre\",\"sql\"],\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/\",\"name\":\"Learn to import .sql file into a Postgre database - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2019-08-30T06:52:44+00:00\",\"dateModified\":\"2021-05-11T13:14:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\"},\"description\":\"This article guides you on how to import .sql file into a Postgre database.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learn to import .sql file into a Postgre database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\",\"name\":\"Sonam Wagh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg\",\"caption\":\"Sonam Wagh\"},\"description\":\"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/sonam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn to import .sql file into a Postgre database - Web Hosting FAQs by MilesWeb","description":"This article guides you on how to import .sql file into a Postgre database.","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.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/","og_locale":"en_US","og_type":"article","og_title":"Learn to import .sql file into a Postgre database - Web Hosting FAQs by MilesWeb","og_description":"This article guides you on how to import .sql file into a Postgre database.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-08-30T06:52:44+00:00","article_modified_time":"2021-05-11T13:14:34+00:00","author":"Sonam Wagh","twitter_misc":{"Written by":"Sonam Wagh","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/"},"author":{"name":"Sonam Wagh","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4"},"headline":"Learn to import .sql file into a Postgre database","datePublished":"2019-08-30T06:52:44+00:00","dateModified":"2021-05-11T13:14:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/"},"wordCount":153,"commentCount":0,"keywords":["import .sql","postgre","sql"],"articleSection":["Database"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/","name":"Learn to import .sql file into a Postgre database - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2019-08-30T06:52:44+00:00","dateModified":"2021-05-11T13:14:34+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4"},"description":"This article guides you on how to import .sql file into a Postgre database.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/learn-to-import-sql-file-into-a-postgre-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Learn to import .sql file into a Postgre database"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4","name":"Sonam Wagh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg","caption":"Sonam Wagh"},"description":"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/sonam\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/8195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=8195"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/8195\/revisions"}],"predecessor-version":[{"id":12963,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/8195\/revisions\/12963"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=8195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=8195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=8195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}