Installing MariaDB database server on Linux
Login as root user
yum install mariadb-server mariadb-backup mariadb-common
[root@10.1.1.1]# yum install mariadb-server mariadb-backup mariadb-common
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Last metadata expiration check: 0:55:49 ago on Thu 01 Jun 2023 10:12:01 PM IST.
Dependencies resolved.
=================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================
Installing:
mariadb-backup x86_64 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 rhel-8-appstream-rhui-rpms 6.1 M
mariadb-common x86_64 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 rhel-8-appstream-rhui-rpms 64 k
mariadb-server x86_64 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 rhel-8-appstream-rhui-rpms 16 M
Installing dependencies:
mariadb x86_64 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 rhel-8-appstream-rhui-rpms 6.0 M
mariadb-connector-c x86_64 3.1.11-2.el8_3 rhel-8-appstream-rhui-rpms 200 k
mariadb-connector-c-config noarch 3.1.11-2.el8_3 rhel-8-appstream-rhui-rpms 15 k
mariadb-errmsg x86_64 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 rhel-8-appstream-rhui-rpms 235 k
perl-DBD-MySQL x86_64 4.046-3.module+el8.1.0+2938+301254e2 rhel-8-appstream-rhui-rpms 156 k
perl-DBI x86_64 1.641-4.module+el8.6.0+13388+70c0920f rhel-8-appstream-rhui-rpms 741 k
Installing weak dependencies:
mariadb-gssapi-server x86_64 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 rhel-8-appstream-rhui-rpms 52 k
mariadb-server-utils x86_64 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 rhel-8-appstream-rhui-rpms 1.1 M
Enabling module streams:
mariadb 10.3
perl-DBD-MySQL 4.046
perl-DBI 1.641
Transaction Summary
=================================================================================================================================================
Install 11 Packages
Total download size: 31 M
Installed size: 155 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): perl-DBD-MySQL-4.046-3.module+el8.1.0+2938+301254e2.x86_64.rpm 2.6 MB/s | 156 kB 00:00
(2/11): mariadb-connector-c-config-3.1.11-2.el8_3.noarch.rpm 238 kB/s | 15 kB 00:00
(3/11): mariadb-connector-c-3.1.11-2.el8_3.x86_64.rpm 2.9 MB/s | 200 kB 00:00
(4/11): perl-DBI-1.641-4.module+el8.6.0+13388+70c0920f.x86_64.rpm 31 MB/s | 741 kB 00:00
(5/11): mariadb-errmsg-10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64.rpm 11 MB/s | 235 kB 00:00
(6/11): mariadb-server-utils-10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64.rpm 26 MB/s | 1.1 MB 00:00
(7/11): mariadb-gssapi-server-10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64.rpm 2.5 MB/s | 52 kB 00:00
(8/11): mariadb-10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64.rpm 54 MB/s | 6.0 MB 00:00
(9/11): mariadb-common-10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64.rpm 4.9 MB/s | 64 kB 00:00
(10/11): mariadb-backup-10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64.rpm 23 MB/s | 6.1 MB 00:00
(11/11): mariadb-server-10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64.rpm 39 MB/s | 16 MB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------
Total 59 MB/s | 31 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : mariadb-connector-c-config-3.1.11-2.el8_3.noarch 1/11
Installing : mariadb-common-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 2/11
Installing : perl-DBI-1.641-4.module+el8.6.0+13388+70c0920f.x86_64 3/11
Installing : mariadb-errmsg-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 4/11
Installing : mariadb-gssapi-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 5/11
Installing : mariadb-connector-c-3.1.11-2.el8_3.x86_64 6/11
Installing : perl-DBD-MySQL-4.046-3.module+el8.1.0+2938+301254e2.x86_64 7/11
Installing : mariadb-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 8/11
Installing : mariadb-backup-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 9/11
Running scriptlet: mariadb-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 10/11
Installing : mariadb-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 10/11
Running scriptlet: mariadb-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 10/11
Installing : mariadb-server-utils-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 11/11
Running scriptlet: mariadb-server-utils-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 11/11
Verifying : perl-DBD-MySQL-4.046-3.module+el8.1.0+2938+301254e2.x86_64 1/11
Verifying : mariadb-connector-c-config-3.1.11-2.el8_3.noarch 2/11
Verifying : mariadb-connector-c-3.1.11-2.el8_3.x86_64 3/11
Verifying : perl-DBI-1.641-4.module+el8.6.0+13388+70c0920f.x86_64 4/11
Verifying : mariadb-server-utils-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 5/11
Verifying : mariadb-errmsg-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 6/11
Verifying : mariadb-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 7/11
Verifying : mariadb-gssapi-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 8/11
Verifying : mariadb-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 9/11
Verifying : mariadb-backup-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 10/11
Verifying : mariadb-common-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 11/11
Installed products updated.
Installed:
mariadb-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 mariadb-backup-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64
mariadb-common-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 mariadb-connector-c-3.1.11-2.el8_3.x86_64
mariadb-connector-c-config-3.1.11-2.el8_3.noarch mariadb-errmsg-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64
mariadb-gssapi-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 mariadb-server-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64
mariadb-server-utils-3:10.3.35-1.module+el8.6.0+15949+4ba4ec26.x86_64 perl-DBD-MySQL-4.046-3.module+el8.1.0+2938+301254e2.x86_64
perl-DBI-1.641-4.module+el8.6.0+13388+70c0920f.x86_64
Complete!
[root@10.1.1.1]#
Login to MariaDB database using root user
[root@10.1.1.1]#
[root@10.1.1.1]# mysql -u root
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 10.3.35-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
+--------------------+
3 rows in set (0.000 sec)
MariaDB [(none)]>
No comments:
Post a Comment