{"id":4371,"date":"2019-04-24T15:37:46","date_gmt":"2019-04-24T19:37:46","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=4371"},"modified":"2019-04-24T21:16:37","modified_gmt":"2019-04-25T01:16:37","slug":"upgrading-from-mysql-5-5-using-whm-cpanel","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/","title":{"rendered":"Upgrading from MySQL 5.5 using WHM\/cPanel"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"300\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM.png\" alt=\"\" class=\"wp-image-4372\"\/><\/figure>\n\n\n\n<p>Still running MySQL 5.5 on your cPanel &amp; WHM server? It&#8217;s important to know that this version of MySQL has been in its end-of-life (EOL) status since December, 2018. As a result, no more security, bug fixes, or updates will be available for servers that are still running MySQL 5.5. Major control panel providers already started to drop the support for MySQL 5.5 as well. That said, time has come to upgrade to a newer version of MySQL or MariaDB.<\/p>\n\n\n\n<p>cPanel &amp; WHM also announced that they will block any panel updates for servers running MySQL 5.5 from version 80. So, that is another good reason not to stick to the old version of MySQL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"id-[READYTOPOST]UpgradingfromMySQL5.5usingWHM\/cPanel[READYTOPOST]-ToWhichVersionShouldMySQL5.5beUpgraded?\">To Which Version Should MySQL 5.5 be Upgraded?<\/h2>\n\n\n\n<p> Considering that MySQL 5.6 will be in its EOL status by February, 2021, it may be better to upgrade to MySQL 5.7 or MariaDB 10.3. MySQL 5.6 will only last for a few years; hence, upgrading to MySQL 5.7 is strongly recommended. This will ensure that you can enjoy the new and improved features that come with version 5.7, even before its predecessor reaches its end of life. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"id-[READYTOPOST]UpgradingfromMySQL5.5usingWHM\/cPanel[READYTOPOST]-HowtoUpgradeYourMySQL\">How to Upgrade Your MySQL<\/h2>\n\n\n\n<p> Migrating from MySQL 5.5 to a newer version is a major upgrade that must be done with some consideration in mind. Returning to MySQL 5.5, in case anything goes wrong, is not possible, so a solid backup is essential before you can proceed with the upgrade. For better stability, we recommend a systematic upgrading approach. Here is the step-by-step procedure for upgrading your MySQL: <\/p>\n\n\n\n<br class=\"custom-break\">\n\n\n\n<p>1 &#8211; Log into WHM, go to &#8220;<strong>SQL Services<\/strong>&#8220;, and click on &#8220;<strong>MySQL\/MariaDB Upgrade<\/strong>&#8220;. <\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade.jpg\" alt=\"\" class=\"wp-image-4373\" width=\"760\" height=\"355\"\/><\/a><\/figure>\n\n\n\n<br class=\"custom-break\">\n\n\n\n<p>2 &#8211; <strong>Confirm <\/strong>your <strong>current MySQL<\/strong> version, <strong>select <\/strong>the <strong>new version<\/strong> you want to upgrade to, and then click &#8220;<strong>Next<\/strong>&#8220;. <em><strong>Upgrade one version at a time.<\/strong><\/em><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade1.jpg\" alt=\"\" class=\"wp-image-4374\" width=\"529\" height=\"438\"\/><\/a><\/figure>\n\n\n\n<br class=\"custom-break\">\n\n\n\n<p>3 &#8211; On the next interface, <strong>check the boxes<\/strong> <strong>for each warning<\/strong> to acknowledge that you are aware of the potential consequences of the upgrade, then click &#8220;<strong>Continue<\/strong>&#8220;. It&#8217;s important to know that <strong>downgrading from MariaDB is not supported by cPanel &amp; WHM<\/strong> or switching back to MySQL. It&#8217;s also not recommended to try doing so. This must be considered when upgrading from MySQL to MariaDB.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade-2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade-2.jpg\" alt=\"\" class=\"wp-image-4375\" width=\"659\" height=\"366\"\/><\/a><\/figure>\n\n\n\n<br class=\"custom-break\">\n\n\n\n<p>4 &#8211; Choose the upgrade type you wish to use:<\/p>\n\n\n\n<p><strong>Unattended Upgrade: <\/strong>(Recommended) \u2014 Automatically rebuilds Apache and PHP with the last saved defaults. It also automatically updates Ruby Gems and rebuilds Apache and PHP. <br><\/p>\n\n\n\n<p><strong>Partially-Interactive Upgrade:<\/strong> (On some cPanel &amp; WHM versions only) \u2014 This option automatically updates Ruby Gems, but it does not automatically rebuild Apache and PHP, until you choose to do so.<\/p>\n\n\n\n<p><strong>Interactive Upgrade:<\/strong> (Advanced users only) \u2014 This option takes you through the upgrade process step by step. The process includes the Ruby Gems update, the MySQL or MariaDB upgrade, and the Apache and PHP rebuild.<\/p>\n\n\n\n<p>Once you have selected the upgrade type, click &#8220;<strong>Continue<\/strong>&#8221; to start the upgrade process. <br><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade-3.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/WHM-MySQL-Upgrade-3.jpg\" alt=\"\" class=\"wp-image-4376\" width=\"657\" height=\"302\"\/><\/a><\/figure>\n\n\n\n<ul><li><BR><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"id-[READYTOPOST]UpgradingfromMySQL5.5usingWHM\/cPanel[READYTOPOST]-AftertheMySQLUpgrade\">After the MySQL Upgrade<\/h2>\n\n\n\n<p>Once the upgrade is complete, we strongly suggest that you check your website databases just to be sure that things are working properly. Check the MySQL error log for any errors. The best way to check your websites for errors is by testing them in a browser. In some cases, you may need to update the user password for a specific database, due to an incompatibility issue. Updating the password is a quick fix.<\/p>\n\n\n\n<p>If your error log is not customized, your configuration file is usually named $hostname.err in \/var\/lib\/mysql\/. If your hostname, for instance, is \u2018<a href=\"http:\/\/host.example.com\/\" rel=\"noreferrer noopener\" target=\"_blank\">host.example.com<\/a>\u2019, the file will be named&nbsp;<a href=\"http:\/\/host.example.com\/\" rel=\"noreferrer noopener\" target=\"_blank\">host.example.com<\/a>.err. To interact with this file, you could use commands such as cat and tail: tail \/var\/lib\/mysql\/`hostname`.err. The file should not be edited.<\/p>\n\n\n\n<p>Once you confirm that all your sites are working properly, the migration is complete.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Still running MySQL 5.5 on your cPanel &amp; WHM server? It&#8217;s important to know that this version of MySQL has been in its end-of-life (EOL) status since December, 2018. As a result, no more security, bug fixes, or updates will be available for servers that are still running MySQL 5.5. Major control panel providers already<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":4377,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[102,115,114],"class_list":["post-4371","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database","tag-cpanel","tag-mysql-5-5","tag-upgrade-mysql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Upgrading from MySQL 5.5 using WHM\/cPanel - Globo.Tech<\/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:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upgrading from MySQL 5.5 using WHM\/cPanel - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"Still running MySQL 5.5 on your cPanel &amp; WHM server? It&#8217;s important to know that this version of MySQL has been in its end-of-life (EOL) status since December, 2018. As a result, no more security, bug fixes, or updates will be available for servers that are still running MySQL 5.5. Major control panel providers already\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-24T19:37:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-25T01:16:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/\",\"name\":\"Upgrading from MySQL 5.5 using WHM\/cPanel - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png\",\"datePublished\":\"2019-04-24T19:37:46+00:00\",\"dateModified\":\"2019-04-25T01:16:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png\",\"contentUrl\":\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png\",\"width\":500,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.globo.tech\/learning-center\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upgrading from MySQL 5.5 using WHM\/cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\/\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Upgrading from MySQL 5.5 using WHM\/cPanel - Globo.Tech","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.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Upgrading from MySQL 5.5 using WHM\/cPanel - Globo.Tech","og_description":"Still running MySQL 5.5 on your cPanel &amp; WHM server? It&#8217;s important to know that this version of MySQL has been in its end-of-life (EOL) status since December, 2018. As a result, no more security, bug fixes, or updates will be available for servers that are still running MySQL 5.5. Major control panel providers already","og_url":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/","og_site_name":"Globo.Tech","article_published_time":"2019-04-24T19:37:46+00:00","article_modified_time":"2019-04-25T01:16:37+00:00","og_image":[{"width":500,"height":300,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/","url":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/","name":"Upgrading from MySQL 5.5 using WHM\/cPanel - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png","datePublished":"2019-04-24T19:37:46+00:00","dateModified":"2019-04-25T01:16:37+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#primaryimage","url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png","contentUrl":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2019\/04\/Upgrade-MySQL55-WHM-1.png","width":500,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/upgrading-from-mysql-5-5-using-whm-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"Upgrading from MySQL 5.5 using WHM\/cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/4371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=4371"}],"version-history":[{"count":13,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/4371\/revisions"}],"predecessor-version":[{"id":4392,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/4371\/revisions\/4392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media\/4377"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=4371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=4371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=4371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}