Do not want to install Oracle, thought to install a MySQL light point, I use the Linux version is Fedora24. After performing the yum installation command, I found that the error message could not be started as follows
[Java]View PlainCopyPrint?
- [ Root @localhost  ~]# SYSTEMCTL START MYSQL.SERVICE  
- Failed to start Mysql.service:Unit mysql.service not found.
After a half-day of information, and finally learned thatmariadb instead of MySQL database, MARIADB database management system is a branch of MySQL, mainly by the open source community in the maintenance, the use of GPL license. One of the reasons for developing this branch is that after Oracle acquired MySQL, there is a potential risk of shutting MySQL out of the source, so the community uses a branching approach to avoid this risk.
So the above command does not start up, the correct method is as follows
[Java]View PlainCopyPrint?
- # yum Install mariadb-server-y //If installed, you can omit
- # systemctl start mariadb.service //Start service   
- # systemctl enable mariadb.service //boot service   
- # mysql-u Root-p //login MySQL
Source: http://blog.csdn.net/ezitai/article/details/52085141
CENTOS7 cannot start after installing MySQL, prompt Unit Mysql.service failed to load:no such file or directory