{"id":943,"date":"2019-02-08T13:08:27","date_gmt":"2019-02-08T19:08:27","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=943"},"modified":"2019-02-11T09:21:47","modified_gmt":"2019-02-11T15:21:47","slug":"how-to-install-mariadb-on-centos","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/","title":{"rendered":"How to Install MariaDB on CentOS"},"content":{"rendered":"<p>On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest version of the query language is necessary for some software to work. This tutorial will show you how to install MariaDB as a drop-in replacement for MySQL for all versions of CentOS, and all versions of MariaDB.<\/p>\n<p><!--more--><\/p>\n<h2>What is MariaDB?<\/h2>\n<p>When Oracle took over the development of MySQL in 2008, it switched to a slower release cycle, and the development became a lot more opaque. One of the lead developers of MySQL decided to fork the project, and MariaDB is the result. The idea was to continue the development of the database in a community-driven manner and to provide a &#8220;drop-in&#8221; replacement for MySQL.<\/p>\n<h2>What is a &#8220;Drop-in&#8221; Replacement?<\/h2>\n<p>It simply means that you don&#8217;t have to change any other configuration on systems that rely on MySQL. Once you install and activate MariaDB, all other programs that used to work with MySQL will now work seamlessly on MariaDB.<\/p>\n<p>In other words, if you&#8217;re running WordPress, you don&#8217;t need to change any scripts or your wp-config.php file when you migrate to MariaDB.<\/p>\n<p>Here&#8217;s how to install MariaDB on a <a href=\"https:\/\/www.linuxcloudvps.com\/centos-cloud-vps.html\">CentOS VPS<\/a>.<\/p>\n<h2>Step 1: Get the MariaDB and CentOS Version<\/h2>\n<p>The URL from which we get the MariaDB packages depends on the OS version, as well as the version of MariaDB we want to install. To get your OS version, type the following command:<\/p>\n<pre>cat \/etc\/redhat-release<\/pre>\n<p>This will tell you which version of CentOS you&#8217;re running. In this example, we&#8217;re going to use CentOS version 6.10. As of this writing, the stable version of MariaDB is sitting on 10.3, so that&#8217;s what we&#8217;re going to install right now.<\/p>\n<h2>Step 2: Get the Script for the MariaDB Repository<\/h2>\n<p>The official website makes it easy to configure the repository script. <a href=\"https:\/\/downloads.mariadb.org\/mariadb\/repositories\/\">Visit the interactive tool<\/a> and choose your OS, as well as the OS version and the MariaDB package that you want to install, based on what you decided in Step 1. Here&#8217;s a screenshot of our configuration:<\/p>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"763\" height=\"496\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Generate-Repository.jpg\" alt=\"Generate the Repository\" class=\"wp-image-946\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Generate-Repository.jpg 763w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Generate-Repository-461x300.jpg 461w\" sizes=\"(max-width: 763px) 100vw, 763px\" \/><\/figure>\n\n\n\n<p>Once you make these selections, it&#8217;ll display a snippet of text on the bottom of the page. Like this:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"681\" height=\"264\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Entry-for-Yum-Repo.jpg\" alt=\"Entry for Yum Repository\" class=\"wp-image-947\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Entry-for-Yum-Repo.jpg 681w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Entry-for-Yum-Repo-470x182.jpg 470w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>The important part is the &#8220;baseurl&#8221; parameter as shown above. This is what varies between various installations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Create the Repo File in CentOS<\/h2>\n\n\n\n<p>The next step is to create a file in the following directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/etc\/yum.repos.d\/<\/pre>\n\n\n\n<p>We&#8217;re going to name it &#8220;MariaDB.repo&#8221; for easy reference later on. Use a text editor like nano or vi to paste the code you got in Step 2 into the file like this:<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"665\" height=\"250\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Create-Yum-Repo-File.jpg\" alt=\"Create the Yum Repository File\" class=\"wp-image-948\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Create-Yum-Repo-File.jpg 665w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Create-Yum-Repo-File-470x177.jpg 470w\" sizes=\"(max-width: 665px) 100vw, 665px\" \/><\/figure>\n\n\n\n<p>Save your changes, and you&#8217;re done with adding the repository file. Make sure to have yum recognize the changes by running this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo yum update<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Installing MariaDB<\/h2>\n\n\n\n<p>Now that the repo is configured, we can install MariaDB by typing in the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo yum install MariaDB-server MariaDB-client<\/pre>\n\n\n\n<p>Note that if you had a previous MariaDB repo, or accidentally used the wrong one, you would have gotten a message saying:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&quot;No package MariaDB-server available&quot;<\/pre>\n\n\n\n<p>Unfortunately, the configurations are saved, so before you run the &#8220;yum&#8221; command with a new repo, you must remember to flush it with the command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum clean metadata<\/pre>\n\n\n\n<p>But if everything goes well, you should now be able to install the MariaDB packages like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"724\" height=\"500\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Replace-MySQL-1.jpg\" alt=\"Replace MySQL\" class=\"wp-image-950\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Replace-MySQL-1.jpg 724w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Replace-MySQL-1-434x300.jpg 434w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/figure>\n\n\n\n<p>Note how it says &#8220;replacing mysql&#8221;. This means that the new database system will response to the &#8220;mysql&#8221; command from now on.<\/p>\n\n\n\n<p>If this is the first time you&#8217;re installing MariaDB, you&#8217;ll also be asked to confirm the import of the GPG key as shown here:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"673\" height=\"502\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Import-GPG-Key.jpg\" alt=\"Import GPG Key\" class=\"wp-image-951\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Import-GPG-Key.jpg 673w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Import-GPG-Key-402x300.jpg 402w\" sizes=\"(max-width: 673px) 100vw, 673px\" \/><\/figure>\n\n\n\n<p>After the installation is complete, you will have MariaDB on your system!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Verifying the Installation<\/h2>\n\n\n\n<p>MariaDB is such a perfect replacement for <g class=\"gr_ gr_4 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace\" id=\"4\" data-gr-id=\"4\">mysql<\/g>, that it can be difficult to tell whether the current software running is MySQL or MariaDB! However, if you type the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql -V<\/pre>\n\n\n\n<p>It will give you the version information, as well as the database system that&#8217;s driving it:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"758\" height=\"315\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Check-MariaDB-Version.jpg\" alt=\"Check MariaDB Version\" class=\"wp-image-952\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Check-MariaDB-Version.jpg 758w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/Check-MariaDB-Version-470x195.jpg 470w\" sizes=\"(max-width: 758px) 100vw, 758px\" \/><\/figure>\n\n\n\n<p>If you followed the tutorial step by step, then congratulations, you&#8217;ve replaced MySQL with MariaDB!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Of course, you don&#8217;t need to install MariaDB yourself if you have a <a href=\"https:\/\/www.linuxcloudvps.com\/centos-cloud-vps.html\">CentOS VPS<\/a> hosted with us, in which case our expert sysadmins will install MariaDB for you. They are available 24&#215;7 and can help you with any questions or issues that you may have. <\/p>\n\n\n\n<p><strong>PS<\/strong>. If you enjoyed reading this blog post on how to install MariaDB on CentOS, feel free to share it on social networks using the share shortcuts, or simply leave a comment. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest version of the query language is necessary for some software to work. This tutorial will show you how to install MariaDB as a drop-in replacement for MySQL for all versions &#8230; <a title=\"How to Install MariaDB on CentOS\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/\" aria-label=\"More on How to Install MariaDB on CentOS\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":958,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[22,171],"class_list":["post-943","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-centos","tag-mariadb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install MariaDB on CentOS | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest\" \/>\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.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install MariaDB on CentOS | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-08T19:08:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-11T15:21:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/install-mariadb-centos.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install MariaDB on CentOS\",\"datePublished\":\"2019-02-08T19:08:27+00:00\",\"dateModified\":\"2019-02-11T15:21:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/\"},\"wordCount\":760,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/install-mariadb-centos.jpg\",\"keywords\":[\"centos\",\"mariadb\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/\",\"name\":\"How to Install MariaDB on CentOS | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/install-mariadb-centos.jpg\",\"datePublished\":\"2019-02-08T19:08:27+00:00\",\"dateModified\":\"2019-02-11T15:21:47+00:00\",\"description\":\"On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/install-mariadb-centos.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/install-mariadb-centos.jpg\",\"width\":750,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-centos\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install MariaDB on CentOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install MariaDB on CentOS | LinuxCloudVPS Blog","description":"On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest","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.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/","og_locale":"en_US","og_type":"article","og_title":"How to Install MariaDB on CentOS | LinuxCloudVPS Blog","og_description":"On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2019-02-08T19:08:27+00:00","article_modified_time":"2019-02-11T15:21:47+00:00","og_image":[{"width":750,"height":360,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/install-mariadb-centos.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install MariaDB on CentOS","datePublished":"2019-02-08T19:08:27+00:00","dateModified":"2019-02-11T15:21:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/"},"wordCount":760,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/install-mariadb-centos.jpg","keywords":["centos","mariadb"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/","name":"How to Install MariaDB on CentOS | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/install-mariadb-centos.jpg","datePublished":"2019-02-08T19:08:27+00:00","dateModified":"2019-02-11T15:21:47+00:00","description":"On a fresh Linux installation, you may have MySQL already installed on your system. While that might be enough for most users, sometimes the newest","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/install-mariadb-centos.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2019\/02\/install-mariadb-centos.jpg","width":750,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-centos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install MariaDB on CentOS"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=943"}],"version-history":[{"count":11,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/943\/revisions"}],"predecessor-version":[{"id":968,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/943\/revisions\/968"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/958"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}