1
00:00:00,480 --> 00:00:06,120
Now, here we are going to check whether the database packages are available and then we are going to

2
00:00:06,300 --> 00:00:08,260
start our mariadb server.

3
00:00:08,700 --> 00:00:12,650
So with rpm -q query command mariadb-server command.

4
00:00:12,660 --> 00:00:16,560
We can check whether our mariadb server is installed or not.

5
00:00:16,860 --> 00:00:21,690
Then we want to check that mariadb client also rpm -q.

6
00:00:21,720 --> 00:00:22,560
mariadb.

7
00:00:22,770 --> 00:00:26,880
So it is going to give us information whether it is an install or not.

8
00:00:26,970 --> 00:00:34,140
If it is not installed you can use the command yum install mariadb-server then space mariadb then

9
00:00:34,140 --> 00:00:36,330
we are going to restart the server.

10
00:00:36,900 --> 00:00:39,840
So restart the server systemsctl restart mariadb.

11
00:00:40,110 --> 00:00:44,150
Then we are going to permanently enable this mariadb-server.

12
00:00:44,580 --> 00:00:49,470
So let us go into our master system, on master system.

13
00:00:49,470 --> 00:00:55,590
What we are going to do first, I am going to clear all the settings.

14
00:00:56,280 --> 00:01:06,000
So first of all, we are going to check the package rpm -q mariadb-server.

15
00:01:06,660 --> 00:01:08,580
That is your server package.

16
00:01:09,060 --> 00:01:10,410
It is already installed.

17
00:01:10,680 --> 00:01:15,530
Then we are going to verify the client, it is also installed.

18
00:01:15,930 --> 00:01:23,970
Now we have to start your mariadb server so the command is systemctl start.

19
00:01:25,710 --> 00:01:35,080
mariadb, and this is going to temporarily start the mariadb-server, we want to make it permanent.

20
00:01:35,100 --> 00:01:37,080
So what is the command it going to be?

21
00:01:37,320 --> 00:01:40,500
It is going to be systemctl enable mariadb.

22
00:01:40,890 --> 00:01:44,800
So systemctl.

23
00:01:47,720 --> 00:01:48,380
enable mariadb.

24
00:01:52,300 --> 00:01:55,330
it will make that server permanent.

25
00:01:57,200 --> 00:02:05,630
So that is how we have now check that these packages are available and we have started

26
00:02:05,630 --> 00:02:07,040
the mariadb also.
