MySQL 5.7啟動資料庫報錯'does not exist or is not executable'
MySQL 5.7啟動資料庫報錯
[root@localhost ~]# mysqld_safe --defaults-file=/etc/my.cnf &
[1] 23687
[root@localhost ~]# mysqld_safe Adding '/mysql_software_57/lib/mysql/libjemalloc.so.1' to LD_PRELOAD for mysqld
2017-04-08T00:21:30.162718Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:21:30.166075Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:21:30.171866Z mysqld_safe The file /usr/local/Percona-Server-5.7.17-11-Linux.x86_64.ssl101/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
[1]+ Exit 1 mysqld_safe --defaults-file=/etc/my.cnf
解決方法:
在MySQL 5.7中,安全性提升,要求切換到軟體安裝目錄,來啟動資料庫
[root@localhost ~]# cd /mysql_software_57/
[root@localhost mysql_software_57]# bin/mysqld_safe --defaults-file=/etc/my.cnf &
[1] 25341
[root@localhost mysql_software_57]# mysqld_safe Adding '/mysql_software_57/lib/mysql/libjemalloc.so.1' to LD_PRELOAD for mysqld
2017-04-08T00:22:31.981599Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:22:31.984805Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:22:32.070881Z mysqld_safe Starting mysqld daemon with databases from /mysql_data_57
[root@localhost ~]# mysqld_safe --defaults-file=/etc/my.cnf &
[1] 23687
[root@localhost ~]# mysqld_safe Adding '/mysql_software_57/lib/mysql/libjemalloc.so.1' to LD_PRELOAD for mysqld
2017-04-08T00:21:30.162718Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:21:30.166075Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:21:30.171866Z mysqld_safe The file /usr/local/Percona-Server-5.7.17-11-Linux.x86_64.ssl101/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
[1]+ Exit 1 mysqld_safe --defaults-file=/etc/my.cnf
在MySQL 5.7中,安全性提升,要求切換到軟體安裝目錄,來啟動資料庫
[root@localhost ~]# cd /mysql_software_57/
[root@localhost mysql_software_57]# bin/mysqld_safe --defaults-file=/etc/my.cnf &
[1] 25341
[root@localhost mysql_software_57]# mysqld_safe Adding '/mysql_software_57/lib/mysql/libjemalloc.so.1' to LD_PRELOAD for mysqld
2017-04-08T00:22:31.981599Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:22:31.984805Z mysqld_safe Logging to '/mysql_log_57/mysqld_error.log'.
2017-04-08T00:22:32.070881Z mysqld_safe Starting mysqld daemon with databases from /mysql_data_57
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-2136837/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL 5.5原始碼安裝時啟動資料庫報錯"Table 'mysql.user' doesn't exist??"MySql原始碼資料庫
- MySQL 啟動報錯 Table 'mysql.plugin' doesn't existMySqlPlugin
- kettle工具從windows移植到linux上啟動報錯:\karaf/deploy does not existWindowsLinux
- mysql 5.7啟動報錯"Expected to open undo tablespaces but was able to find only 0"MySql
- 惡意程式造成資料庫啟動報錯資料庫
- 啟動MySql資料庫MySql資料庫
- oracle for linux安裝報錯 file /home/oracle/.Xauthority does not existOracleLinux
- 遷移MySQL 5.7資料庫MySql資料庫
- mysql 5.7 sys資料庫初探MySql資料庫
- mysql5.7資料庫改名MySql資料庫
- Oracle ORA - 01720 grant option does not exist for..報錯解決Oracle
- job呼叫過程報錯 ORA-00942: table or view does not existView
- MySQL資料庫如何啟動?MySql資料庫
- 資料庫啟動在mount狀態,無任何報錯資料庫
- asmcmd does not exist in directoryASM
- shell監控mysql 5.7資料庫MySql資料庫
- ABAP 資料結構啟用時的錯誤訊息 - combination reference table field does not exist資料結構
- asm磁碟組依賴導致資料庫自啟動報錯ASM資料庫
- AIX系統中,啟動資料庫報錯ORA-27504AI資料庫
- MySQL 5.7資料庫引數優化MySql資料庫優化
- javax.media does not existJava
- ORACLE 18C啟動資料庫報錯ORA-04031Oracle資料庫
- 資料庫資料恢復—MongoDB資料庫檔案丟失,啟動報錯的資料恢復案例資料庫資料恢復MongoDB
- Hadoop的mapreduce出現問題,報錯The auxService:mapreduce_shuffle does not existHadoopUX
- streamlit run執行報錯,Invalid value: File does not exist: XXX.py
- mysql建立資料庫報錯了怎麼辦MySql資料庫
- Mysql 5.7透過mysqldump還原資料庫MySql資料庫
- mysql安裝/啟動報錯彙總MySql
- MYSQL資料庫服務無法啟動MySql資料庫
- Mysql 5.5 資料庫啟動關閉命令MySql資料庫
- Eclipse裡Tomcat報錯:Document base ……does not exist or is not a readable directory(圖文詳解)...EclipseTomcat
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法MySql
- Mysql資料庫使用Navicat Mysql匯入sql檔案報錯MySql資料庫
- 啟動OEM時關於ora-00942:table or view does not exist的處理View
- MySql5.7及以上 ORDER BY 報錯問題MySql
- 資料庫Mysql5.7 MGR叢集的搭建資料庫MySql
- 啟動oracle資料庫的時候報ORA-00205錯誤:Oracle資料庫
- MySQL 啟動服務報錯解決方案MySql