{"id":59,"date":"2020-02-12T10:36:24","date_gmt":"2020-02-12T10:36:24","guid":{"rendered":"https:\/\/www.lcn.com\/support\/knowledge-base\/how-to-backup-your-mysql-database\/"},"modified":"2020-09-09T11:12:21","modified_gmt":"2020-09-09T11:12:21","slug":"how-to-backup-your-mysql-database","status":"publish","type":"ht_kb","link":"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/","title":{"rendered":"How to backup your MYSQL database"},"content":{"rendered":"\n<p>We advise that you take regular backups of your database. Backup your MYSQL database to not only protect you from data loss, it can also protect you from accidental deletion and human error.<\/p>\n\n\n\n<p>You can take backups using your LCN backup tool as shown in our guide <a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-and-restore-your-website-using-the-lcn-backup-utility\/\">here<\/a>, however, it is still beneficial to take a manual backup as well.<\/p>\n\n\n\n<p>Before we start to backup your MYSQL database you are going to need your database <strong>Username,<\/strong>&nbsp;<strong>Password<\/strong>&nbsp;and&nbsp;<strong>Hostname<\/strong>. You would have chosen your Username and Password when you created the database, the hostname is included with these details in your&nbsp;<a href=\"https:\/\/login.lcn.com\/login\">LCN account<\/a> under the MySQL section of your domain.<\/p>\n\n\n\n<p>If you used our one-click install for&nbsp;<strong>WordPress<\/strong>&nbsp;you can find the relevant details from your WordPress configuration file via <a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-upload-files-to-your-website-with-ftp\/\" target=\"_blank\" rel=\"noreferrer noopener\">FTP <\/a>or<a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-use-the-lcn-file-manager\/\" target=\"_blank\" rel=\"noreferrer noopener\"> File Manager<\/a>.<\/p>\n\n\n\n<p>Let\u2019s Get started\u2026<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Go to http:\/\/domain.com\/mysqladmin (replace domain.com with your actual domain name).<\/li><li>Log in to phpMyAdmin with your\u00a0Database Username\u00a0and\u00a0Password, choose the correct\u00a0Hostname\u00a0from the\u00a0Server Choice\u00a0dropdown.<\/li><li>Select\u00a0<strong>Databases<\/strong>\u00a0and choose your database e.g. domain_com_db<\/li><li>Click\u00a0<strong>Export<\/strong>\u00a0and click\u00a0<strong>Go<\/strong>.<\/li><li>You\u2019ll be asked to\u00a0<strong>Download<\/strong>\u00a0the file and\u00a0<strong>Save<\/strong>\u00a0it to a location on your machine.<\/li><\/ol>\n\n\n\n<video autoplay=\"autoplay\" loop=\"loop\" muted=\"\" controls=\"controls\" width=\"100%\" height=\"100%\"><source src=\"\/support\/articles\/attachment\/830\/inline\/original\/1566901982\/DBBackup.mp4\">Your browser does not support the video tag.<\/video>\n\n\n\n<p>That\u2019s it! You have now backed up your database.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We advise that you take regular backups of your database. Backup your MYSQL database to not only protect you from data loss, it can also protect you from accidental deletion and human error. You can take backups using your LCN backup tool as shown in our guide here, however, it is still beneficial to take [&hellip;]<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[7],"ht-kb-tag":[5],"class_list":["post-59","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-creating-and-managing-databases","ht_kb_tag-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to backup your MYSQL database - LCN.com Support Guide<\/title>\n<meta name=\"description\" content=\"How to backup your MYSQL database with LCN.com. Back up your site&#039;s database by following this simple step-by-step guide.\" \/>\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.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to backup your MYSQL database - LCN.com Support Guide\" \/>\n<meta property=\"og:description\" content=\"How to backup your MYSQL database with LCN.com. Back up your site&#039;s database by following this simple step-by-step guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Customer Support Guides - LCN\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/lcndotcom\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-09T11:12:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@lcndotcom\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/\",\"url\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/\",\"name\":\"How to backup your MYSQL database - LCN.com Support Guide\",\"isPartOf\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#website\"},\"datePublished\":\"2020-02-12T10:36:24+00:00\",\"dateModified\":\"2020-09-09T11:12:21+00:00\",\"description\":\"How to backup your MYSQL database with LCN.com. Back up your site's database by following this simple step-by-step guide.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.lcn.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to backup your MYSQL database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.lcn.com\/support\/#website\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"name\":\"Customer Support Guides - LCN\",\"description\":\"- LCN\",\"publisher\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.lcn.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\",\"name\":\"LCN.com\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"contentUrl\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"width\":461,\"height\":461,\"caption\":\"LCN.com\"},\"image\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/lcndotcom\",\"https:\/\/x.com\/lcndotcom\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to backup your MYSQL database - LCN.com Support Guide","description":"How to backup your MYSQL database with LCN.com. Back up your site's database by following this simple step-by-step guide.","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.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/","og_locale":"en_US","og_type":"article","og_title":"How to backup your MYSQL database - LCN.com Support Guide","og_description":"How to backup your MYSQL database with LCN.com. Back up your site's database by following this simple step-by-step guide.","og_url":"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/","og_site_name":"Customer Support Guides - LCN","article_publisher":"https:\/\/www.facebook.com\/lcndotcom","article_modified_time":"2020-09-09T11:12:21+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@lcndotcom","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/","url":"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/","name":"How to backup your MYSQL database - LCN.com Support Guide","isPartOf":{"@id":"https:\/\/www.lcn.com\/support\/#website"},"datePublished":"2020-02-12T10:36:24+00:00","dateModified":"2020-09-09T11:12:21+00:00","description":"How to backup your MYSQL database with LCN.com. Back up your site's database by following this simple step-by-step guide.","breadcrumb":{"@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-backup-your-mysql-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lcn.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to backup your MYSQL database"}]},{"@type":"WebSite","@id":"https:\/\/www.lcn.com\/support\/#website","url":"https:\/\/www.lcn.com\/support\/","name":"Customer Support Guides - LCN","description":"- LCN","publisher":{"@id":"https:\/\/www.lcn.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lcn.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.lcn.com\/support\/#organization","name":"LCN.com","url":"https:\/\/www.lcn.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","contentUrl":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","width":461,"height":461,"caption":"LCN.com"},"image":{"@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/lcndotcom","https:\/\/x.com\/lcndotcom"]}]}},"_links":{"self":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":3,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/59\/revisions"}],"predecessor-version":[{"id":1376,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/59\/revisions\/1376"}],"wp:attachment":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=59"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}