{"id":6716,"date":"2021-07-16T09:08:18","date_gmt":"2021-07-16T09:08:18","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=6716"},"modified":"2026-02-26T14:03:08","modified_gmt":"2026-02-26T14:03:08","slug":"how-to-customize-the-version-of-mysql-database-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/","title":{"rendered":"How to Customize the version of MySQL database in cPanel"},"content":{"rendered":"\r\n<p>In this article, you will find the procedure of Customizing the version of the MySQL database, when installing cPanel for the first time.<\/p>\r\n\r\n\r\n\r\n<p>It is possible to preconfigure a cPanel installation so that your desired version of MySQL is installed from the start.<\/p>\r\n\r\n\r\n\r\n<p>Let&#8217;s follow the Procedure to Customize the version of the <a href=\"https:\/\/www.bodhost.com\/kb\/how-to-delete-a-mysql-database-in-cpanel\/\" target=\"_blank\" rel=\"noopener\">MySQL database<\/a>:<\/p>\r\n\r\n\r\n\r\n<p>On the server with no cPanel installed, create the following file:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-verse\">\/root\/cpanel_profile\/cpanel.config<\/pre>\r\n\r\n\r\n\r\n<p>To install with MySQL 5.6 populate the file with the following:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-verse\">mysql-version=5.6<\/pre>\r\n\r\n\r\n\r\n<pre class=\"wp-block-verse\">MySQL 5.7:<\/pre>\r\n\r\n\r\n\r\n<pre class=\"wp-block-verse\">mysql-version=5.7<\/pre>\r\n\r\n\r\n\r\n<p>Then run the cPanel installer as you would normally.<\/p>\r\n\r\n\r\n\r\n<p>In this way, the version of the MySQL database is customized when you are installing the <strong>cPanel<\/strong> for the first time.<\/p>\r\n\r\n\r\n\r\n<p>We hope this has helped you. If you have any queries please feel free to contact our customer support team anytime. We are always there to help you out. You can check our website for the latest <a href=\"https:\/\/www.bodhost.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">web hosting plans.<\/a><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>In this article, you will find the procedure of Customizing the version of the MySQL database, when installing cPanel for the first time. It is possible to preconfigure a cPanel&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":21,"featured_media":7653,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[857],"tags":[958],"class_list":["post-6716","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sql","tag-mysql-database-in-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Customize MySQL Database Version in cPanel | bodHOST Guide<\/title>\n<meta name=\"description\" content=\"This article explains, how to Customize the version of the MySQL database when installing cPanel for the first time. MySQL 5.6 version.\" \/>\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.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Customize MySQL Database Version in cPanel | bodHOST Guide\" \/>\n<meta property=\"og:description\" content=\"This article explains, how to Customize the version of the MySQL database when installing cPanel for the first time. MySQL 5.6 version.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-16T09:08:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/07\/www.bodhost.com-16.png\" \/>\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\/png\" \/>\n<meta name=\"author\" content=\"Serena\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/07\/www.bodhost.com-16-1.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Serena\" \/>\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.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/\"},\"author\":{\"name\":\"Serena\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\"},\"headline\":\"How to Customize the version of MySQL database in cPanel\",\"datePublished\":\"2021-07-16T09:08:18+00:00\",\"dateModified\":\"2026-02-26T14:03:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/\"},\"wordCount\":157,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Untitled-design-47.png\",\"keywords\":[\"MySQL database in cPanel\"],\"articleSection\":[\"SQL\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/\",\"name\":\"Customize MySQL Database Version in cPanel | bodHOST Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Untitled-design-47.png\",\"datePublished\":\"2021-07-16T09:08:18+00:00\",\"dateModified\":\"2026-02-26T14:03:08+00:00\",\"description\":\"This article explains, how to Customize the version of the MySQL database when installing cPanel for the first time. MySQL 5.6 version.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Untitled-design-47.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Untitled-design-47.png\",\"width\":800,\"height\":360,\"caption\":\"How to Customize the version of MySQL database in cPanel\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-customize-the-version-of-mysql-database-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SQL\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/sql\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Customize the version of MySQL database in cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\",\"name\":\"Serena\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"caption\":\"Serena\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/seema\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Customize MySQL Database Version in cPanel | bodHOST Guide","description":"This article explains, how to Customize the version of the MySQL database when installing cPanel for the first time. MySQL 5.6 version.","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.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Customize MySQL Database Version in cPanel | bodHOST Guide","og_description":"This article explains, how to Customize the version of the MySQL database when installing cPanel for the first time. MySQL 5.6 version.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2021-07-16T09:08:18+00:00","article_modified_time":"2026-02-26T14:03:08+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/07\/www.bodhost.com-16.png","type":"image\/png"}],"author":"Serena","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/07\/www.bodhost.com-16-1.png","twitter_misc":{"Written by":"Serena","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/"},"author":{"name":"Serena","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830"},"headline":"How to Customize the version of MySQL database in cPanel","datePublished":"2021-07-16T09:08:18+00:00","dateModified":"2026-02-26T14:03:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/"},"wordCount":157,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/04\/Untitled-design-47.png","keywords":["MySQL database in cPanel"],"articleSection":["SQL"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/","name":"Customize MySQL Database Version in cPanel | bodHOST Guide","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/04\/Untitled-design-47.png","datePublished":"2021-07-16T09:08:18+00:00","dateModified":"2026-02-26T14:03:08+00:00","description":"This article explains, how to Customize the version of the MySQL database when installing cPanel for the first time. MySQL 5.6 version.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/#primaryimage","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/04\/Untitled-design-47.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/04\/Untitled-design-47.png","width":800,"height":360,"caption":"How to Customize the version of MySQL database in cPanel"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-customize-the-version-of-mysql-database-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"SQL","item":"https:\/\/www.bodhost.com\/kb\/category\/sql\/"},{"@type":"ListItem","position":2,"name":"How to Customize the version of MySQL database in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830","name":"Serena","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","caption":"Serena"},"url":"https:\/\/www.bodhost.com\/kb\/author\/seema\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=6716"}],"version-history":[{"count":12,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6716\/revisions"}],"predecessor-version":[{"id":13945,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6716\/revisions\/13945"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media\/7653"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=6716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=6716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=6716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}