一、問(wèn)題背景
service mysql start 啟動(dòng)mysql服務(wù)器時(shí),提示如下錯(cuò)誤:
Redirecting to /bin/systemctl start mysql.service
二、問(wèn)題原因
原因推測(cè):service mysql start
是重定向到/bin/systemctl restart mysql.service. mysql
與mysqld是不同的,前者交互式命令(客戶端),mysqld才是后端服務(wù)進(jìn)程,應(yīng)該是啟錯(cuò)了文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-535570.html
三、問(wèn)題處理
使用service mysqld start
或者systemctl start mysqld
啟動(dòng)附:其他操作mysql命令
使用如下命令操作mysql:文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-535570.html
查看狀態(tài):systemctl statusmysqld.service
重啟:systemctl restart mysqld.service
啟動(dòng):systemctl start mysqld.service
停止:systemctl stop mysqld.service
查看狀態(tài):service mysqld status
重啟:service mysqld restart
啟動(dòng):service mysqld start
停止:service mysqld stop
到了這里,關(guān)于Linux服務(wù)器中啟動(dòng)mysql出現(xiàn)Redirecting to /bin/systemctl start mysql.service錯(cuò)誤及處理的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!