執行mysqld_safe報錯:
[root@edu data]# /usr/local/mysql5.7/bin/mysqld_safe --user=mysql
160427 12:41:28 mysqld_safe Logging to '/renqinglei/mysql/log/mysql_error.log'.
160427 12:41:28 mysqld_safe The file /usr/local/mysql/bin/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
后台錯誤日志報:
160427 12:41:28 mysqld_safe The file /usr/local/mysql/bin/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
根據網上所說重新初始化數據庫也不好使,
依據 惜分飛文章:mysqld_safe啟動報錯 mysqld_safe只認識/usr/local/mysql/bin/mysqld路徑的mysqld
於是調整在當前目錄創建了一個軟鏈接,問題解決。
[root@edu local]# ln -s mysql5.7/ mysql
記錄此錯,僅為以后提醒。