centOs启动Mysql时报错Redirecting to /bin/systemctl start mysqld.service
service mysql start 启动服务器
出现 Redirecting to /bin/systemctl start mysql.service错
原因推测:service mysql start 是重定向到/bin/systemctl restart mysql.service. mysql与mysqld是不同的,前者交互式命令(客户端),mysqld才是后端服务进程,可能是启错了
还有可能是新版的问题
解决:
启动 MySQL:
systemctl start mysqld
![](https://img-blog.csdnimg.cn/img_convert/a9355b57f6d1f64c959c59c8af3de5df.png)
查看 MySQL 运行状态:
systemctl status mysqld
![](https://img-blog.csdnimg.cn/img_convert/66fd703ff83f8dff938481711abddf2a.png)