Centos
文件 /usr/libexec/mysqld 不存在或不可執行
每當我嘗試通過命令啟動 MySQL
service mysqld start
我收到以下錯誤:
MySQL Daemon failed to start. Starting mysqld: [FAILED]
並查看日誌,我看到了這一點:
150706 14:52:12 mysqld_safe The file /usr/libexec/mysqld does not exist or is not executable. Please cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe& See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
每當我 cd 到 /usr/ 並執行命令時,我都會收到相同的錯誤:
[root@www usr]# ./bin/mysqld_safe 150707 10:15:19 mysqld_safe Logging to '/var/log/mysqld.log'. 150707 10:15:19 mysqld_safe The file /usr/libexec/mysqld does not exist or is not executable. Please cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe& See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
我在 CentOS 6.6 版上。如何啟動 MySQL?
在
CentOS 6.6
您可以檢查是否mysql-server
安裝了:rpm -qi mysql-server
你可以安裝它:
yum install mysql-server
或重新安裝它:
yum reinstall mysql-server