The server quit without updating PID file (/mydata/mysql/BIDB.pid).[FAILED]
剛剛安裝的MySQL 啟動時報錯:
[root@BIDB scripts]# ../support-files/mysql.server start
Starting MySQL........The server quit without updating PID file (/mydata/mysql/BIDB.pid).[FAILED]
[root@BIDB scripts]# vi /etc/my.cnf
檢視日誌:
經常啟動MySQL的時候遇見這個錯誤。也是最常見的錯誤之一
解決辦法:
我也是嘗試了好多次。
1、修改/etc/my.cnf 檔案。要跟實際的一樣
2、到MySQL的安裝目錄下面的script
./mysql_install_db --basedir=/my/mysql --no-defaults --skip-name-resolve --user=mysql --datadir=/mydata/mysql/data
這是重新初始化MySQL。
3. 切換到suppsupport-files 目錄下啟動MySQL
./mysql.server start.
經驗總結:
1、上面的有可4能一次不行,多執行幾次。
2、注意這兩個引數確性:
basedir = /my/mysql ----MySQL安裝路徑
datadir = /mydata/mysql/data ----MySQL的資料檔案存放位置
[root@BIDB scripts]# ../support-files/mysql.server start
Starting MySQL........The server quit without updating PID file (/mydata/mysql/BIDB.pid).[FAILED]
[root@BIDB scripts]# vi /etc/my.cnf
檢視日誌:
點選(此處)摺疊或開啟
- 140928 12:46:21 mysqld_safe mysqld from pid file /mydata/mysql/BIDB.pid ended
- 140928 12:48:43 mysqld_safe Starting mysqld daemon with databases from /mydata/mysql
- 2014-09-28 12:48:43 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
- 2014-09-28 12:48:43 66983 [Note] Plugin \'FEDERATED\' is disabled.
- /my/mysql/bin/mysqld: Table \'mysql.plugin\' doesn\'t exist
- 2014-09-28 12:48:43 66983 [ERROR] Can\'t open the mysql.plugin table. Please run mysql_upgrade to create it.
- 2014-09-28 12:48:43 66983 [Note] InnoDB: Using atomics to ref count buffer pool pages
- 2014-09-28 12:48:43 66983 [Note] InnoDB: The InnoDB memory heap is disabled
- 2014-09-28 12:48:43 66983 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2014-09-28 12:48:43 66983 [Note] InnoDB: Compressed tables use zlib 1.2.3
- 2014-09-28 12:48:43 66983 [Note] InnoDB: Using CPU crc32 instructions
- 2014-09-28 12:48:43 66983 [Note] InnoDB: Initializing buffer pool, size = 100.0G
- 2014-09-28 12:48:49 66983 [Note] InnoDB: Completed initialization of buffer pool
- 2014-09-28 12:48:50 7ff1edc84720 InnoDB: Operating system error number 13 in a file operation.
- InnoDB: The error means mysqld does not have the access rights to
- InnoDB: the directory.
- 2014-09-28 12:48:50 7ff1edc84720 InnoDB: Operating system error number 13 in a file operation.
- InnoDB: The error means mysqld does not have the access rights to
- InnoDB: the directory.
- 2014-09-28 12:48:50 66983 [ERROR] InnoDB: Creating or opening ./ibdata1 failed!
- 2014-09-28 12:48:50 66983 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
- 2014-09-28 12:48:50 66983 [ERROR] Plugin \'InnoDB\' init function returned error.
- 2014-09-28 12:48:50 66983 [ERROR] Plugin \'InnoDB\' registration as a STORAGE ENGINE failed.
- 2014-09-28 12:48:50 66983 [ERROR] Unknown/unsupported storage engine: InnoDB
- 2014-09-28 12:48:50 66983 [ERROR] Aborting
- 2014-09-28 12:48:50 66983 [Note] Binlog end
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'partition\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_DATAFILES\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_TABLESPACES\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_FOREIGN_COLS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_FOREIGN\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_FIELDS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_COLUMNS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_INDEXES\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_TABLESTATS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_SYS_TABLES\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_FT_INDEX_TABLE\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_FT_INDEX_CACHE\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_FT_CONFIG\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_FT_BEING_DELETED\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_FT_DELETED\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_FT_DEFAULT_STOPWORD\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_METRICS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_BUFFER_POOL_STATS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_BUFFER_PAGE_LRU\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_BUFFER_PAGE\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_CMP_PER_INDEX_RESET\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_CMP_PER_INDEX\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_CMPMEM_RESET\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_CMPMEM\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_CMP_RESET\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_CMP\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_LOCK_WAITS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_LOCKS\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'INNODB_TRX\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'PERFORMANCE_SCHEMA\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'ARCHIVE\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'BLACKHOLE\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'MRG_MYISAM\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'MEMORY\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'CSV\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'MyISAM\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'sha256_password\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'mysql_old_password\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'mysql_native_password\'
- 2014-09-28 12:48:50 66983 [Note] Shutting down plugin \'binlog\'
- 2014-09-28 12:48:50 66983 [Note] /my/mysql/bin/mysqld: Shutdown complete
我也是嘗試了好多次。
1、修改/etc/my.cnf 檔案。要跟實際的一樣
2、到MySQL的安裝目錄下面的script
./mysql_install_db --basedir=/my/mysql --no-defaults --skip-name-resolve --user=mysql --datadir=/mydata/mysql/data
這是重新初始化MySQL。
3. 切換到suppsupport-files 目錄下啟動MySQL
./mysql.server start.
經驗總結:
1、上面的有可4能一次不行,多執行幾次。
2、注意這兩個引數確性:
basedir = /my/mysql ----MySQL安裝路徑
datadir = /mydata/mysql/data ----MySQL的資料檔案存放位置
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016617/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- The server quit without updating PID fileServerUI
- The server quit without updating PID file (/var/mysqltest1.pid).[FAILEDServerUIMySqlAI
- MySQL提示:The server quit without updating PID file(…)失敗MySqlServerUI
- Starting MySQL.The server quit without updating PID fileMySqlServerUI
- MySQL啟動報錯:The server quit without updating PID fileMySqlServerUI
- mysql啟動報錯Manager of pid-file quit without updating file.[FAILED]MySqlUIAI
- 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異常解決辦法薦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
- MYSQL啟動後報:ERROR! The server quit without updating PID file錯誤的問題解決MySqlErrorServerUI
- MySQL server PID file could not be found!MySqlServer
- MysqL錯誤之_ERROR! MySQL server PID file could not be found!MySqlErrorServer
- Mysql啟動錯誤-server PID file could not be foundMySqlServer
- SQL SERVER – Attach mdf file without ldf file in DatabaseSQLServerDatabase
- nginx: [error] open() “/var/run/nginx/nginx.pid“ failed (2: No such file or directory)NginxErrorAI
- StartingMySQL…ERROR!TheserverquitwithoutupdatingPIDfile(/mydata/data/t1.pid).MySqlErrorServerUI
- CDH CM cloudera-scm-server dead but pid file existsCloudServer
- 【MySQL】mysql啟動常見報錯 mysqld_safe mysqld from pid file hostname.pid endedMySql
- MySQL server5.7版出現server failedMySqlServerAI
- jmap -dump:format=b,file=java_pid_04180.hprof pidORMJava
- Xtrabackup備份報錯Failed to connect to MySQL serverAIMySqlServer
- can't create PID file問題處理
- mysql之pid檔案MySql
- ftp 報錯 550 Failed to open fileFTPAI
- Inline Workers--Web workers without a separate Javascript fileinlineWebJavaScript
- What Is a Server Parameter File?Server
- yum-GPG key retrieval failed: No such file or directoryAI
- VMware vmdk錯誤: Failed to lock the file.AI
- 安裝MySQL5.7報錯:The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.MySqlServerAI
- Mysql 報The MySQL server is running with the --secure-file-priv option so it cannot execute this stat...MySqlServer
- ERROR 1290:The MySQL server is running with the --secure-file-priv optionErrorMySqlServer
- err_quit()UI
- iOS開發 Build operation failed without specifying any errors 問題fixiOSUIAIError
- Exporting the Server Parameter FileExportServer
- Errors and Recovery for the Server Parameter FileErrorServer
- Oracle - ORA-09817: Write to audit file failedOracleAI