mysql啟動報錯Manager of pid-file quit without updating file.[FAILED]
linux採用rpm方式安裝mysql,預設都裝到根目錄下了,需要將其安裝路徑挪到/data目錄;
遷完後Mysql啟動時候報告錯誤,找不到pid檔案
[root@testdb2 oracle]# service mysql start
Starting MySQL..Manager of pid-file quit without updating file.[FAILED]
此時需要採用safe模式啟動
[root@testdb2 oracle]# which mysqld_safe
/usr/bin/mysqld_safe
[root@testdb2 oracle]# /usr/bin/mysqld_safe --user=mysql&
[1] 7301
[root@testdb2 oracle]# 110801 15:33:40 mysqld_safe Logging to '/var/lib/mysql/testdb2.err'.
110801 15:33:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
此時可以登入mysql
[root@testdb2 oracle]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.51 MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> exit
Bye
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15480802/viewspace-703709/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL啟動報錯:The server quit without updating PID fileMySqlServerUI
- MYSQL啟動後報:ERROR! The server quit without updating PID file錯誤的問題解決MySqlErrorServerUI
- The server quit without updating PID file (/mydata/mysql/BIDB.pid).[FAILED]ServerUIMySqlAI
- The server quit without updating PID fileServerUI
- MySQL提示:The server quit without updating PID file(…)失敗MySqlServerUI
- Starting MySQL.The server quit without updating PID fileMySqlServerUI
- The server quit without updating PID file (/var/mysqltest1.pid).[FAILEDServerUIMySqlAI
- mysql The server quit without updating PID file異常解決辦法薦MySqlServerUI
- ERROR! The server quit without updating PID file (/opt/mysql/mysql/data/cvs.pid)ErrorServerUIMySql
- Mysql:The server quit without updating PID file (/eipdb1/mysql/data/EIPDB1.pid).MySqlServerUI
- MySQL The server quit without updating PID file xx/var/DESKTOP-BHVUG0D.pidMySqlServerUI
- Linux安裝mysql出現ERROR! The server quit without updating PID file問題解決LinuxMySqlErrorServerUI
- VMware vmdk錯誤: Failed to lock the file.AI
- 升級到 MySQL 8.4,MySQL 啟動報錯:io_setup() failed with EAGAINMySqlAI
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- 上傳報錯:Upload Failed: Your upload has failed a virus scan. Please choose another file.AI
- CRS啟動報錯Failed 3 to bind listening endpointAI
- Vue 啟動專案報錯 Failed to compile with 2 errorsVueAICompileError
- VMware 啟動報錯 "Failed to lock the file"解決辦法AI
- JBAS014613: Operation ("add") failed啟動報錯AI
- Mysql啟動報錯:Job for mysqld.service failed because the control process exited with error code.MySqlAIError
- mysql安裝/啟動報錯彙總MySql
- VM啟動報:failed to launch peer processAI
- MySQL 啟動報錯 Table 'mysql.plugin' doesn't existMySqlPlugin
- MySQL 啟動服務報錯解決方案MySql
- ASM例項啟動報錯:ORA-29701 :unable to connect to Cluster ManagerASM
- redhat as4 安裝oracle 9204 rac啟動Oracle Cluster Manager報錯!RedhatOracle
- Xtrabackup備份報錯Failed to connect to MySQL serverAIMySqlServer
- 啟動IDEA 報 failed to load jvm dll XXX 錯誤IdeaAIJVM
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- kafka啟動報錯:kafka.common.KafkaException: Failed to acquire lock on file .lockKafkaExceptionAIUI
- 安裝GRID CONTROL The OPMN Process Manager failed to start報錯處理AI
- innodb_undo_tablespaces導致Mysql啟動報錯MySql
- mysql 啟動錯誤MySql
- mongodb 啟動報錯MongoDB
- php啟動報錯PHP
- 【MySQL】mysql啟動報錯./mysqld_safe: my_print_defaults: not foundMySql
- MySQL 5.7啟動資料庫報錯'does not exist or is not executable'MySql資料庫