{"id":1556,"date":"2022-01-10T09:02:28","date_gmt":"2022-01-10T09:02:28","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=1556"},"modified":"2022-01-10T11:22:37","modified_gmt":"2022-01-10T11:22:37","slug":"how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/","title":{"rendered":"How to export\/import MySQL database with correct character set on Dedicated server?"},"content":{"rendered":"<p>To Export\/Import MySQL database with correct list on dedicated server export your database with the right set is very important so as to avoid any quite issues with data that has non english characters within the table.<\/p>\n<p>For example, if the list of your data is Unicode (UTF8) you&#8217;ll be able to use the subsequent command to export it using this character set:<\/p>\n<p><strong>Below is the syntax for the command :<\/strong><\/p>\n<blockquote><p>mysqldump -u UserName -p Password \u2013default-character-set=utf8 User_Database &gt; backup.sql<\/p><\/blockquote>\n<p>In the UserName, Password and User_Database field replace values for your database and you will have a file named \u201cbackup.sql\u201d encoded in UTF-8.<\/p>\n<p>When you import a database backup into an empty MySQL database tables then you&#8217;ll be able to set the exact character set for the data. For that use the subsequent syntax for the command is as follows,<\/p>\n<p>mysql -uUserName -pPassword \u2013default-character-set=utf8 User_Database &lt; backup.sql<\/p>\n<p>Restore \u2013default-character-set=utf8 by using the charset for the creation of the backup.sql file. Make sure that your inserted data is properly managed and inserted correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To Export\/Import MySQL database with correct list on dedicated server export your database with the right set is very important so as to avoid any quite issues with data that has non english characters within the table. For example, if the list of your data is Unicode (UTF8) you&#8217;ll be able to use the subsequent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-1556","post","type-post","status-publish","format-standard","hentry","category-dedicated-server"],"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 export\/import MySQL database with correct character set on Dedicated server? - 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-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to export\/import MySQL database with correct character set on Dedicated server? - OWS KB\" \/>\n<meta property=\"og:description\" content=\"To Export\/Import MySQL database with correct list on dedicated server export your database with the right set is very important so as to avoid any quite issues with data that has non english characters within the table. For example, if the list of your data is Unicode (UTF8) you&#8217;ll be able to use the subsequent [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-10T09:02:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-10T11:22:37+00:00\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/\",\"name\":\"How to export\/import MySQL database with correct character set on Dedicated server? - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2022-01-10T09:02:28+00:00\",\"dateModified\":\"2022-01-10T11:22:37+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/#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-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-export-import-mysql-database-with-correct-character-set-on-dedicated-server\/\",\"name\":\"How to export\/import MySQL database with correct character set on Dedicated server?\"}}]},{\"@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\/1556","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=1556"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1556\/revisions"}],"predecessor-version":[{"id":1557,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1556\/revisions\/1557"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=1556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=1556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=1556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}