{"id":161430,"date":"2026-03-16T18:51:22","date_gmt":"2026-03-16T15:51:22","guid":{"rendered":"https:\/\/cloudspinx.com\/?p=76065"},"modified":"2026-03-16T18:51:22","modified_gmt":"2026-03-16T15:51:22","slug":"install-mariadb-on-rhel-centos-stream","status":"publish","type":"post","link":"https:\/\/computingforgeeks.com\/install-mariadb-on-rhel-centos-stream\/","title":{"rendered":"Install MariaDB 11.4 on RHEL 9 | CentOS Stream 9"},"content":{"rendered":"\n<p>In this article we explain how one can install and use MariaDB 11.4 on RHEL 9  | CentOS Stream 9. <strong>MariaDB<\/strong>\u00a0is an open source relational database which provides an SQL interface for accessing data. The latest versions of\u00a0<strong>MariaDB<\/strong> include support for GIS and JSON. MariaDB is a fork of MySQL database, with its active development under open source community.<\/p>\n\n\n\n<p>MariaDB latest packages are not available in Red Hat or CentOS provided RPM repositories. We&#8217;ll have to add MariaDB provided repository then install the packages from there. I believe you can also use Software Collections repository, but I didn&#8217;t try using it.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Add MariaDB 11.4 repository to RHEL 9 | CentOS Stream 9<\/h4>\n\n\n\n<p>Let&#8217;s add MariaDB 11.4 YUM repository to our RHEL 9 | CentOS Stream 9 system. For these repositories, check out the mirror list and pick the one nearest to you, then paste it inside of the following commands:<\/p>\n\n\n\n<p><strong>CentOS Stream 9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tee \/etc\/yum.repos.d\/mariadb.repo&lt;&lt;EOF\n# MariaDB 11.4 CentOS repository list - created 2025-05-07 20:57 UTC\n# https:\/\/mariadb.org\/download\/\n&#91;mariadb]\nname = MariaDB\n# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https:\/\/mariadb.org\/mirrorbits\/ for details.\n# baseurl = https:\/\/rpm.mariadb.org\/11.4\/centos\/$releasever\/$basearch\nbaseurl = https:\/\/mariadb.mirror.digitalpacific.com.au\/yum\/11.4\/centos\/$releasever\/$basearch\n# gpgkey = https:\/\/rpm.mariadb.org\/RPM-GPG-KEY-MariaDB\ngpgkey = https:\/\/mariadb.mirror.digitalpacific.com.au\/yum\/RPM-GPG-KEY-MariaDB\ngpgcheck = 1\nEOF<\/code><\/pre>\n\n\n\n<p><strong>RHEL 9<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tee \/etc\/yum.repos.d\/mariadb.repo&lt;&lt;EOF\n# MariaDB 11.4 RedHatEnterpriseLinux repository list - created 2025-05-07 20:41 UTC\n# https:\/\/mariadb.org\/download\/\n&#91;mariadb]\nname = MariaDB\n# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https:\/\/mariadb.org\/mirrorbits\/ for details.\n# baseurl = https:\/\/rpm.mariadb.org\/11.4\/rhel\/$releasever\/$basearch\nbaseurl = https:\/\/mariadb.mirror.digitalpacific.com.au\/yum\/11.4\/rhel\/$releasever\/$basearch\n# gpgkey = https:\/\/rpm.mariadb.org\/RPM-GPG-KEY-MariaDB\ngpgkey = https:\/\/mariadb.mirror.digitalpacific.com.au\/yum\/RPM-GPG-KEY-MariaDB\ngpgcheck = 1\nEOF<\/code><\/pre>\n\n\n\n<p>Once the repository is added update package cache index to confirm it is working.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf clean all\nsudo dnf makecache<\/code><\/pre>\n\n\n\n<p>List available repositories:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo yum repolist<\/code><\/pre>\n\n\n\n<p>Sample Output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Updating Subscription Management repositories.\nrepo id                                                                                  repo name\nmariadb                                                                                  MariaDB\nrhel-9-for-x86_64-appstream-rpms                                                         Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)\nrhel-9-for-x86_64-baseos-rpms                                                            Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)<\/code><\/pre>\n\n\n\n<p>Agree to importation of repository GPG key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>warning: rpmts_HdrFromFdno: Header V4 DSA\/SHA1 Signature, key ID 1bb943db: NOKEY\nRetrievi key from https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB\nImporting GPG key 0x1BB943DB:\n Userid: \"MariaDB Package Signing Key &lt;package-signing-key@mariadb.org>\"\n From  : https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB\nIs this ok &#91;y\/N]: y<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install MariaDB 11.4 on RHEL 9 | CentOS Stream 9<\/h3>\n\n\n\n<p>With the repository added and confirmed to be working we can begin installation of MariaDB 11.4 on CentOS Stream 9 | RHEL 9 system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install MariaDB-server MariaDB-client <\/code><\/pre>\n\n\n\n<p>Accept the installation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Updating Subscription Management repositories.\nLast metadata expiration check: 0:05:46 ago on Wed 07 May 2025 11:43:47 PM EAT.\nDependencies resolved.\n==========================================================================================================================================================================================================\n Package                                            Architecture                       Version                                         Repository                                                    Size\n==========================================================================================================================================================================================================\nInstalling:\n MariaDB-client                                     x86_64                             11.4.5-1.el9                                    mariadb                                                      9.3 M\n MariaDB-server                                     x86_64                             11.4.5-1.el9                                    mariadb                                                       19 M\nInstalling dependencies:\n MariaDB-common                                     x86_64                             11.4.5-1.el9                                    mariadb                                                       89 k\n MariaDB-shared                                     x86_64                             11.4.5-1.el9                                    mariadb                                                      130 k\n boost-program-options                              x86_64                             1.75.0-8.el9                                    rhel-9-for-x86_64-appstream-rpms                             108 k\n galera-4                                           x86_64                             26.4.21-1.el9                                   mariadb                                                      1.4 M\n perl-AutoLoader                                    noarch                             5.74-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              21 k\n perl-B                                             x86_64                             1.80-481.el9                                    rhel-9-for-x86_64-appstream-rpms                             184 k\n perl-Carp                                          noarch                             1.50-460.el9                                    rhel-9-for-x86_64-appstream-rpms                              31 k\n perl-Class-Struct                                  noarch                             0.66-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              22 k\n perl-DBI                                           x86_64                             1.643-9.el9                                     rhel-9-for-x86_64-appstream-rpms                             729 k\n perl-Data-Dumper                                   x86_64                             2.174-462.el9                                   rhel-9-for-x86_64-appstream-rpms                              59 k\n perl-Digest                                        noarch                             1.19-4.el9                                      rhel-9-for-x86_64-appstream-rpms                              29 k\n perl-Digest-MD5                                    x86_64                             2.58-4.el9                                      rhel-9-for-x86_64-appstream-rpms                              39 k\n perl-DynaLoader                                    x86_64                             1.47-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              26 k\n perl-Encode                                        x86_64                             4:3.08-462.el9                                  rhel-9-for-x86_64-appstream-rpms                             1.7 M\n perl-Errno                                         x86_64                             1.30-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              15 k\n perl-Exporter                                      noarch                             5.74-461.el9                                    rhel-9-for-x86_64-appstream-rpms                              34 k\n perl-Fcntl                                         x86_64                             1.13-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              22 k\n perl-File-Basename                                 noarch                             2.85-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              17 k\n perl-File-Copy                                     noarch                             2.34-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              20 k\n perl-File-Path                                     noarch                             2.18-4.el9                                      rhel-9-for-x86_64-appstream-rpms                              38 k\n perl-File-Temp                                     noarch                             1:0.231.100-4.el9                               rhel-9-for-x86_64-appstream-rpms                              63 k\n perl-File-stat                                     noarch                             1.09-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              17 k\n perl-FileHandle                                    noarch                             2.03-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              16 k\n perl-Getopt-Long                                   noarch                             1:2.52-4.el9                                    rhel-9-for-x86_64-appstream-rpms                              64 k\n perl-Getopt-Std                                    noarch                             1.12-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              16 k\n perl-HTTP-Tiny                                     noarch                             0.076-462.el9                                   rhel-9-for-x86_64-appstream-rpms                              57 k\n perl-IO                                            x86_64                             1.43-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              92 k\n perl-IO-Socket-IP                                  noarch                             0.41-5.el9                                      rhel-9-for-x86_64-appstream-rpms                              45 k\n perl-IO-Socket-SSL                                 noarch                             2.073-2.el9                                     rhel-9-for-x86_64-appstream-rpms                             221 k\n perl-IPC-Open3                                     noarch                             1.21-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              24 k\n perl-MIME-Base64                                   x86_64                             3.16-4.el9                                      rhel-9-for-x86_64-appstream-rpms                              34 k\n perl-Math-BigInt                                   noarch                             1:1.9998.18-460.el9                             rhel-9-for-x86_64-appstream-rpms                             194 k\n perl-Math-Complex                                  noarch                             1.59-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              47 k\n perl-Mozilla-CA                                    noarch                             20200520-6.el9                                  rhel-9-for-x86_64-appstream-rpms                              14 k\n perl-Net-SSLeay                                    x86_64                             1.94-1.el9                                      rhel-9-for-x86_64-appstream-rpms                             418 k\n perl-POSIX                                         x86_64                             1.94-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              98 k\n perl-PathTools                                     x86_64                             3.78-461.el9                                    rhel-9-for-x86_64-appstream-rpms                              92 k\n perl-Pod-Escapes                                   noarch                             1:1.07-460.el9                                  rhel-9-for-x86_64-appstream-rpms                              22 k\n perl-Pod-Perldoc                                   noarch                             3.28.01-461.el9                                 rhel-9-for-x86_64-appstream-rpms                              92 k\n perl-Pod-Simple                                    noarch                             1:3.42-4.el9                                    rhel-9-for-x86_64-appstream-rpms                             229 k\n perl-Pod-Usage                                     noarch                             4:2.01-4.el9                                    rhel-9-for-x86_64-appstream-rpms                              43 k\n perl-Scalar-List-Utils                             x86_64                             4:1.56-462.el9                                  rhel-9-for-x86_64-appstream-rpms                              75 k\n perl-SelectSaver                                   noarch                             1.02-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              12 k\n perl-Socket                                        x86_64                             4:2.031-4.el9                                   rhel-9-for-x86_64-appstream-rpms                              58 k\n perl-Storable                                      x86_64                             1:3.21-460.el9                                  rhel-9-for-x86_64-appstream-rpms                              98 k\n perl-Symbol                                        noarch                             1.08-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              14 k\n perl-Sys-Hostname                                  x86_64                             1.23-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              19 k\n perl-Term-ANSIColor                                noarch                             5.01-461.el9                                    rhel-9-for-x86_64-appstream-rpms                              51 k\n perl-Term-Cap                                      noarch                             1.17-460.el9                                    rhel-9-for-x86_64-appstream-rpms                              24 k\n perl-Text-ParseWords                               noarch                             3.30-460.el9                                    rhel-9-for-x86_64-appstream-rpms                              18 k\n perl-Text-Tabs+Wrap                                noarch                             2013.0523-460.el9                               rhel-9-for-x86_64-appstream-rpms                              25 k\n perl-Time-Local                                    noarch                             2:1.300-7.el9                                   rhel-9-for-x86_64-appstream-rpms                              37 k\n perl-URI                                           noarch                             5.09-3.el9                                      rhel-9-for-x86_64-appstream-rpms                             125 k\n perl-base                                          noarch                             2.27-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              16 k\n perl-constant                                      noarch                             1.33-461.el9                                    rhel-9-for-x86_64-appstream-rpms                              25 k\n perl-if                                            noarch                             0.60.800-481.el9                                rhel-9-for-x86_64-appstream-rpms                              14 k\n perl-interpreter                                   x86_64                             4:5.32.1-481.el9                                rhel-9-for-x86_64-appstream-rpms                              73 k\n perl-libnet                                        noarch                             3.13-4.el9                                      rhel-9-for-x86_64-appstream-rpms                             134 k\n perl-libs                                          x86_64                             4:5.32.1-481.el9                                rhel-9-for-x86_64-appstream-rpms                             2.2 M\n perl-mro                                           x86_64                             1.23-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              29 k\n perl-overload                                      noarch                             1.31-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              46 k\n perl-overloading                                   noarch                             0.02-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              13 k\n perl-parent                                        noarch                             1:0.238-460.el9                                 rhel-9-for-x86_64-appstream-rpms                              16 k\n perl-podlators                                     noarch                             1:4.14-460.el9                                  rhel-9-for-x86_64-appstream-rpms                             118 k\n perl-subs                                          noarch                             1.03-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              12 k\n perl-vars                                          noarch                             1.05-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              13 k\nInstalling weak dependencies:\n MariaDB-client-compat                              noarch                             11.4.5-1.el9                                    mariadb                                                       11 k\n perl-NDBM_File                                     x86_64                             1.15-481.el9                                    rhel-9-for-x86_64-appstream-rpms                              23 k\n socat                                              x86_64                             1.7.4.1-6.el9                                   rhel-9-for-x86_64-appstream-rpms                             308 k\n\nTransaction Summary\n==========================================================================================================================================================================================================\nInstall  71 Packages\n\nTotal download size: 38 M\nInstalled size: 266 M\nIs this ok &#91;y\/N]: y<\/code><\/pre>\n\n\n\n<p>Agree to import the GPG Keys when asked:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Importing GPG key 0x1BB943DB:\n Userid     : \"MariaDB Package Signing Key &lt;package-signing-key@mariadb.org>\"\n Fingerprint: 1993 69E5 404B D5FC 7D2F E43B CBCB 082A 1BB9 43DB\n From       : https:\/\/mariadb.mirror.digitalpacific.com.au\/yum\/RPM-GPG-KEY-MariaDB\nIs this ok &#91;y\/N]: y\nKey imported successfully\nImporting GPG key 0xC74CD1D8:\n Userid     : \"MariaDB Signing Key &lt;signing-key@mariadb.org>\"\n Fingerprint: 177F 4010 FE56 CA33 3630 0305 F165 6F24 C74C D1D8\n From       : https:\/\/mariadb.mirror.digitalpacific.com.au\/yum\/RPM-GPG-KEY-MariaDB\nIs this ok &#91;y\/N]: y\nKey imported successfully\nRed Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)                                                                                                                  3.5 MB\/s | 3.6 kB     00:00\nImporting GPG key 0xFD431D51:\n Userid     : \"Red Hat, Inc. (release key 2) &lt;security@redhat.com>\"\n Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\nIs this ok &#91;y\/N]: y\nKey imported successfully\nImporting GPG key 0x5A6340B3:\n Userid     : \"Red Hat, Inc. (auxiliary key 3) &lt;security@redhat.com>\"\n Fingerprint: 7E46 2425 8C40 6535 D56D 6F13 5054 E4A4 5A63 40B3\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\nIs this ok &#91;y\/N]: y<\/code><\/pre>\n\n\n\n<p>Start and enable the database service.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl start mariadb.service\nsudo systemctl enable mariadb.service<\/code><\/pre>\n\n\n\n<p>The service should be running:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"401\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-1024x401.png\" alt=\"\" class=\"wp-image-82069\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-1024x401.png 1024w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-300x118.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-768x301.png 768w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-1536x602.png 1536w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-2048x802.png 2048w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-1072x420.png 1072w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-696x273.png 696w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-01-1068x418.png 1068w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Secure MariaDB Database Server<\/h4>\n\n\n\n<p>The final step is to secure our database server installation by setting the root user password, removing test database, anonymous users, and disabling remote root user login.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <mark style=\"background-color:rgba(0, 0, 0, 0);color:#00d084\" class=\"has-inline-color\">sudo mariadb-secure-installation<\/mark>\n\nNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB\n      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!\n\nIn order to log into MariaDB to secure it, we'll need the current\npassword for the root user. If you've just installed MariaDB, and\nhaven't set the root password yet, you should just press enter here.\n\nEnter current password for root (enter for none):\nOK, successfully used password, moving on...\n\nSetting the root password or using the unix_socket ensures that nobody\ncan log into the MariaDB root user without the proper authorisation.\n\nYou already have your root account protected, so you can safely answer 'n'.\n\nSwitch to unix_socket authentication &#91;Y\/n] n\n ... skipping.\n\nYou already have your root account protected, so you can safely answer 'n'.\n\nChange the root password? &#91;Y\/n] Y\nNew password:\nRe-enter new password:\nPassword updated successfully!\nReloading privilege tables..\n ... Success!\n\n\nBy default, a MariaDB installation has an anonymous user, allowing anyone\nto log into MariaDB without having to have a user account created for\nthem.  This is intended only for testing, and to make the installation\ngo a bit smoother.  You should remove them before moving into a\nproduction environment.\n\nRemove anonymous users? &#91;Y\/n] Y\n ... Success!\n\nNormally, root should only be allowed to connect from 'localhost'.  This\nensures that someone cannot guess at the root password from the network.\n\nDisallow root login remotely? &#91;Y\/n] Y\n ... Success!\n\nBy default, MariaDB comes with a database named 'test' that anyone can\naccess.  This is also intended only for testing, and should be removed\nbefore moving into a production environment.\n\nRemove test database and access to it? &#91;Y\/n] Y\n - Dropping test database...\n ... Success!\n - Removing privileges on test database...\n ... Success!\n\nReloading the privilege tables will ensure that all changes made so far\nwill take effect immediately.\n\nReload privilege tables now? &#91;Y\/n] Y\n ... Success!\n\nCleaning up...\n\nAll done!  If you've completed all of the above steps, your MariaDB\ninstallation should now be secure.\n\nThanks for using MariaDB!<\/code><\/pre>\n\n\n\n<p>Try authenticating to MariDB shell using the set password for the root user.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mariadb -u root -p<\/code><\/pre>\n\n\n\n<p>Sample:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"317\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-1024x317.png\" alt=\"\" class=\"wp-image-82076\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-1024x317.png 1024w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-300x93.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-768x238.png 768w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-1536x475.png 1536w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-2048x634.png 2048w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-1358x420.png 1358w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-696x215.png 696w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2025\/05\/Install-MariaDB-11.4-on-RHEL9CentOS-Stream9-02-1068x330.png 1068w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We have successfully installed MariaDB 11.4 on CentOS Stream 9 | RHEL 9, started the service and secure the database server.<\/p>\n\n\n\n<p>More guides:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/computingforgeeks.com\/deploy-k0s-kubernetes-on-rhel-or-centos-using-k0sctl\/\">Deploy k0s Kubernetes on RHEL | CentOS Stream using k0sctl<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/build-open-vswitch-from-source-on-rocky-almalinux-rhel\/\">Build Open vSwitch from Source on Rocky | AlmaLinux | RHEL<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/install-postgresql-rocky-almalinux\/\">How To Install PostgreSQL 16 on CentOS | RHEL<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this article we explain how one can install and use MariaDB 11.4 on RHEL 9 | CentOS Stream 9. MariaDB\u00a0is an open source relational database which provides an SQL interface for accessing data. The latest versions of\u00a0MariaDB include support for GIS and JSON. MariaDB is a fork of MySQL database, with its active development &#8230; <a title=\"Install MariaDB 11.4 on RHEL 9 | CentOS Stream 9\" class=\"read-more\" href=\"https:\/\/computingforgeeks.com\/install-mariadb-on-rhel-centos-stream\/\" aria-label=\"Read more about Install MariaDB 11.4 on RHEL 9 | CentOS Stream 9\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":82084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,299,50,73],"tags":[39542],"class_list":["post-161430","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-how-to","category-linux-tutorials","category-rhel","tag-mariadb-11-4"],"_links":{"self":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/161430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/comments?post=161430"}],"version-history":[{"count":0,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/161430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media\/82084"}],"wp:attachment":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media?parent=161430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/categories?post=161430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/tags?post=161430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}