I'm running an AWS Linux 2 AMI and installed mariadb. The packages installed are:
But when I try to start the service running
sudo systemctl start mariadb
I get
Failed to start mariadb.service: Unit not found.
Any hints?
I'm running an AWS Linux 2 AMI and installed mariadb. The packages installed are:
But when I try to start the service running
sudo systemctl start mariadb
I get
Failed to start mariadb.service: Unit not found.
Any hints?
Finally it worked after explicitly running yum install mariadb-server
You need to enable the service first, as it comes disabled:
systemctl enable mariadb
Then you can start it normally:
systemctl start mariadb