今天想在自己的Suse虚拟机上安装mysql,安装好了并且初始化之后,一直无法启动mysql.
cp /data/mysql/support-files/mysql.server /etc/init.d/mysqld
chmod +x /etc/init.d/mysqld
chkconfig --level 35 mysqld on
chkconfig --add mysqld
chkconfig --list
1.service mysql start;
报错:mysql is neither service nor target!?
2.systemctl start mysql:
报错:sysemctl start mysql : Failed to star mysql.service: Unit mysql.service failed to load: No such file ....
解决方式:
systemctl unmask mysql.service
service mysql start
标签:target,service,suse12,--,start,mysqld,mysql,chkconfig
From: https://blog.51cto.com/u_13236892/6343405