Failed to start mysqld.service: Unit not found
启动mysql时
systemctl start mysql.service
提示
Failed to start mysqld.service: Unit not found
解决方法
yum install -y mariadb-server
systemctl start mariadb.service
systemctl enable mariadb.service
ok
[root@iZf8z9gs5xht62gcoz8u81Z ~]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 5.5.68-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.

浙公网安备 33010602011771号