rpm 安装完mysql ,Unit mysqld.service could not be found., rpm 默认安装目录是/usr/share/mysql ,启动mysql的方式是该目录下的mysql.server, 可以参考这篇文章
https://blog.csdn.net/zq199692288/article/details/78863737
把mysql.server 复制到 /etc/init.d/mysqld 下并重命名为mysqld ,然后可以永service mysqld status 这样的方式操作了。