{"id":52017,"date":"2019-03-14T12:45:57","date_gmt":"2019-03-14T17:45:57","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=52017"},"modified":"2019-03-14T12:45:57","modified_gmt":"2019-03-14T17:45:57","slug":"upgrading-mysql-or-mariadb","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/","title":{"rendered":"Upgrade MySQL – Support ending for MySQL 5.5"},"content":{"rendered":"\n

cPanel & WHM Version 80 will not support MySQL 5.5, and updates to cPanel & WHM Version 80 will be blocked for any server still running MySQL 5.5. We are also blocking updates for any cPanel & WHM servers that connect to servers running MySQL 5.5. The MySQL\/MariaDB Upgrade<\/a> interface inside WHM makes upgrading safe and easy. <\/p>\n\n\n\n

Why the block?<\/h2>\n\n\n\n

On December 31st, 2018, MySQL version 5.5 entered End of Life status. Any server currently running MySQL 5.5 will not receive any updates, bug fixes, or security patches for MySQL until MySQL is updated to a version 5.6 or later.  <\/p>\n\n\n\n

What does this block mean?<\/h2>\n\n\n\n

You must<\/strong> upgrade MySQL (or move to a supported version of MariaDB) before you can upgrade to cPanel & WHM Version 80. We are also blocking upgrades for servers that connect to remote database servers running MySQL 5.5 and earlier. You must<\/strong> disconnect from those servers or upgrade them to use MySQL 5.6 or later (or change to MariaDB). Otherwise, you will not be able to upgrade to cPanel & WHM version 80.<\/p>\n\n\n\n

MySQL 5.7<\/h2>\n\n\n\n

MySQL 5.7 was released on October 21st, 2015, but we didn’t add support for it until v70. We discussed the reason for the delay in our blog post Being a Good Open Source Community Member: Why we hesitated on MySQL 5.7.<\/a> The improvements in MySQL 5.7 are vast and certainly worth the time to upgrade. A member of our training team did a presentation at last year’s cPanel Conference comparing MySQL 5.7 to MariaDB 10.2. Take a look at his slides<\/a> for a deeper dive.<\/p>\n\n\n\n

When will support for 5.6 end?<\/h2>\n\n\n\n

While we had previously planned to end support for 5.6 earlier, we have extended our support<\/a> to Oracle’s defined End of Life for MySQL version 5.6. It is currently expected to reach End of Life on February 5, 2021. We strongly recommend upgrading to MySQL 5.7 before that time, to take advantage of the new features and overall speed improvements that 5.7 brings with it. <\/p>\n\n\n\n

Upgrading your MySQL version<\/h2>\n\n\n\n

To update your server you can use WHM’s MySQL\/MariaDB Upgrade<\/em> interface. Simply select the version of MySQL or MariaDB that you would like to upgrade to, and the software does the rest of the work! You can read more about this interface in our documentation<\/a>. We recommend upgrading one version at a time, to ensure the most stability. <\/p>\n\n\n\n

To view your server’s connections to remote MySQL servers, use WHM’s\u00a0Manage MySQL Profiles<\/a>\u00a0<\/em>interface.<\/p>\n\n\n\n

FAQ<\/h2>\n\n\n\n

We frequently see this type of change trigger some very reasonable questions. To help users find answers more quickly and easily, we wanted to include a list of those questions and their answers.<\/p>\n\n\n\n

Can you switch back to MySQL after converting to MariaDB?<\/em><\/strong><\/p>\n\n\n\n

No, on cPanel & WHM servers it is not currently possible to migrate back to MySQL once you migrate to MariaDB. If this is a feature you’d like to see, make sure to add your vote on the feature request site<\/a>, so you will be notified if we do add that feature. <\/p>\n\n\n\n

How do I verify databases on my websites are working well post-upgrade?<\/em><\/strong><\/p>\n\n\n\n

The best way is to test the websites in a browser and look for database errors and to watch for errors in the MySQL error log. Unless you have customized the error log in your configuration file ( \/etc\/my.cnf<\/code> ), then you will find it named $hostname.err in \/var\/lib\/mysql\/<\/code>. For example, if your hostname is ‘host.example.com’, the name of the file will be host.example.com.err. Don’t attempt to edit this file. Only use commands like tail or cat to interact with it:<\/p>\n\n\n\n

tail \/var\/lib\/mysql\/`hostname`.err <\/code><\/p>\n\n\n\n

I got the message from cPanel, need me to upgrade to Mysql 5.7. Is that safe? My server is running WordPress multisite and WHMCS, are those safe?<\/em><\/strong><\/p>\n\n\n\n

Yes, both of these applications are safe and compatible with MySQL 5.7.

I have 20+ websites on our server with databases. Is updating MySQL like updating PHP where each account needs to be checked after updating, or should sites that worked in 5.5 still work in 5.7? Or are there certain things I should look out for?<\/em><\/strong><\/p>\n\n\n\n

Like with PHP upgrades, we recommend checking each site for problems and checking the error logs, to ensure that you catch any problems with your customers’ sites as quickly as possible.

I keep receiving notifications that my MySQL version is outdated and that I should update. However, I am very hesitant simply because I do not want to be held responsible for any compatibility issues with each account especially those we did not develop. Is this a required upgrade?<\/em><\/strong><\/p>\n\n\n\n

Yes, this upgrade is required. We recommend that you contact your customers to give them plenty of notice for your planned server maintenance and ensure that you have account backups enabled.<\/p>\n\n\n\n

When will cPanel & WHM Support MySQL Version 8?<\/em><\/strong><\/p>\n\n\n\n

Our addition of MySQL hasn’t been assigned a version yet, but it’s certainly something we want to get added. We are hoping to add it in 2019. Add your voice on the feature request site<\/a> to ensure you get notified when we do add it!<\/p>\n\n\n\n

Get started!<\/h2>\n\n\n\n

Now is the time! Start scheduling your maintenances and getting your servers upgraded today! If you are curious about any future deprecation plans that we have, you can see our Deprecation Plan documentation on our documentation site:<\/p>\n\n\n\n

\nhttps:\/\/documentation.cpanel.net\/display\/CKB\/cPanel+Deprecation+Plan\n<\/div><\/figure>\n\n\n\n

For more information about update blockers, and why we use them, you can read our Upgrade Blockers documentation:<\/p>\n\n\n\n

\nhttps:\/\/documentation.cpanel.net\/display\/CKB\/Upgrade+Blockers\n<\/div><\/figure>\n\n\n\n

If you have any questions not answered in this article, feel free to comment below, open a ticket with our support team, or reach out on the cPanel Forums<\/a>, the cPanel subreddit<\/a>, or on our official Slack<\/a> and Discord<\/a> channels.<\/p>\n","protected":false},"excerpt":{"rendered":"

cPanel & WHM Version 80 will not support MySQL 5.5, and updates to cPanel & WHM Version 80 will be blocked for any server still running MySQL 5.5. We are also blocking updates for any cPanel & WHM servers that connect to servers running MySQL 5.5. The MySQL\/MariaDB Upgrade interface inside WHM makes upgrading safe and easy.  […]<\/p>\n","protected":false},"author":77,"featured_media":65129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[325],"class_list":["post-52017","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products","tag-product-development"],"acf":[],"yoast_head":"\nUpgrade MySQL - Support ending for MySQL 5.5 | cPanel<\/title>\n <!-- Mirrored from cpanel.net/wp-json/wp/v2/posts/52017/ by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 06 Sep 2024 11:01:17 GMT --> <meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=_-2863.html \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upgrade MySQL - Support ending for MySQL 5.5 | cPanel\" \/>\n<meta property=\"og:description\" content=\"cPanel & WHM Version 80 will not support MySQL 5.5, and updates to cPanel & WHM Version 80 will be blocked for any server still running MySQL 5.5. We are also blocking updates for any cPanel & WHM servers that connect to servers running MySQL 5.5. The MySQL\/MariaDB Upgrade interface inside WHM makes upgrading safe and easy.  […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/\" \/>\n<meta property=\"og:site_name\" content=\"cPanel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cpanel\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-14T17:45:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2019\/03\/2019.03.14.mysql5_.5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3858\" \/>\n\t<meta property=\"og:image:height\" content=\"1527\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"cPanel Community\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cPanel\" \/>\n<meta name=\"twitter:site\" content=\"@cPanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cPanel Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/\",\"name\":\"Upgrade MySQL - Support ending for MySQL 5.5 | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2019-03-14T17:45:57+00:00\",\"dateModified\":\"2019-03-14T17:45:57+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upgrade MySQL – Support ending for MySQL 5.5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\",\"url\":\"https:\/\/devel.www.cpanel.net\/\",\"name\":\"cPanel\",\"description\":\"Hosting Platform of Choices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devel.www.cpanel.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\",\"name\":\"cPanel Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"caption\":\"cPanel Community\"},\"description\":\"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.\",\"sameAs\":[\"https:\/\/cpanel.net\"],\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Upgrade MySQL - Support ending for MySQL 5.5 | cPanel","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:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/","og_locale":"en_US","og_type":"article","og_title":"Upgrade MySQL - Support ending for MySQL 5.5 | cPanel","og_description":"cPanel & WHM Version 80 will not support MySQL 5.5, and updates to cPanel & WHM Version 80 will be blocked for any server still running MySQL 5.5. We are also blocking updates for any cPanel & WHM servers that connect to servers running MySQL 5.5. The MySQL\/MariaDB Upgrade interface inside WHM makes upgrading safe and easy.  […]","og_url":"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2019-03-14T17:45:57+00:00","og_image":[{"width":3858,"height":1527,"url":"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2019\/03\/2019.03.14.mysql5_.5.png","type":"image\/png"}],"author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/","url":"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/","name":"Upgrade MySQL - Support ending for MySQL 5.5 | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2019-03-14T17:45:57+00:00","dateModified":"2019-03-14T17:45:57+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/upgrading-mysql-or-mariadb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"Upgrade MySQL – Support ending for MySQL 5.5"}]},{"@type":"WebSite","@id":"https:\/\/devel.www.cpanel.net\/#website","url":"https:\/\/devel.www.cpanel.net\/","name":"cPanel","description":"Hosting Platform of Choices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devel.www.cpanel.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8","name":"cPanel Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","caption":"cPanel Community"},"description":"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.","sameAs":["https:\/\/cpanel.net"],"url":"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/52017"}],"collection":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/comments?post=52017"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/52017\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media\/65129"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=52017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=52017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=52017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}