xain Asked: 2019-08-22 04:39:48 +0800 CST2019-08-22 04:39:48 +0800 CST 2019-08-22 04:39:48 +0800 CST Mariadb not running after AWS Linux 2 installation 772 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? linux 2 Answers Voted Julio González Gil 2019-08-22T14:57:55+08:002019-08-22T14:57:55+08:00 You need to enable the service first, as it comes disabled: systemctl enable mariadb Then you can start it normally: systemctl start mariadb Best Answer xain 2019-08-23T10:07:37+08:002019-08-23T10:07:37+08:00 Finally it worked after explicitly running yum install mariadb-server
You need to enable the service first, as it comes disabled:
Then you can start it normally:
Finally it worked after explicitly running yum install mariadb-server