六月婷婷综合激情-六月婷婷综合-六月婷婷在线观看-六月婷婷在线-亚洲黄色在线网站-亚洲黄色在线观看网站

明輝手游網(wǎng)中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

MySQL無法打開的處理方法示例分享

[摘要]這篇文章主要介紹了MySQL無法啟動的解決辦法的相關資料,希望通過本文大家能解決數(shù)據(jù)庫不能啟動的問題,需要的朋友可以參考下MySQL無法啟動的解決辦法MySQL無法啟動在停止mysql之后,執(zhí)行了一...
這篇文章主要介紹了MySQL無法啟動的解決辦法的相關資料,希望通過本文大家能解決數(shù)據(jù)庫不能啟動的問題,需要的朋友可以參考下

MySQL無法啟動的解決辦法

MySQL無法啟動

在停止mysql之后,執(zhí)行了一些操作(如修改主機名),重新啟動 mysql,發(fā)現(xiàn)起不來。


[root@www ~]$ service mysql start 
Starting MySQL..^[[A.................................................................................................. ERROR! The server quit without updating PID file (/disk/mysql/www.pid).
[root@www ~]$ service mysql stop 
 ERROR! MySQL server PID file could not be found!
[root@www ~]$ service mysql stop 
 ERROR! MySQL server PID file could not be found!
[root@www ~]$ service mysql start 
Starting MySQL..................
還是老樣子,只好 Ctr+C 掉。
[root@www ~]$

實在是啟動不了,看一下日志:/disk/mysql/www.err


120608 09:56:17 mysqld_safe Starting mysqld daemon with databases from /disk/mysql
120608 9:56:17 [Note] Plugin 'FEDERATED' is disabled.
120608 9:56:17 InnoDB: The InnoDB memory heap is disabled
120608 9:56:17 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
120608 9:56:17 InnoDB: Compressed tables use zlib 1.2.3
120608 9:56:17 InnoDB: Using Linux native AIO
120608 9:56:17 InnoDB: Initializing buffer pool, size = 128.0M
120608 9:56:17 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
120608 9:56:17 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
...

好像是原來的 mysqld 并沒有停下來。

強制終止 mysqld


[root@www ~]$ ps -ef grep mysql 
root   4769   1 0 Jun06 ?    00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/disk/mysql --pid-file=/disk/mysql/localhost.pid
mysql   4874 4769 0 Jun06 ?    00:04:04 /usr/sbin/mysqld --basedir=/usr --datadir=/disk/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/disk/mysql/localhost.err --pid-file=/disk/mysql/localhost.pid --socket=/disk/mysql/mysql.sock
root   17947   1 0 09:56 pts/1  00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/disk/mysql --pid-file=/disk/mysql/www.pid
mysql  18052 17947 0 09:56 pts/1  00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/disk/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/disk/mysql/www.err --pid-file=/disk/mysql/www.pid --socket=/disk/mysql/mysql.sock
root   18099 17514 0 09:56 pts/1  00:00:00 grep mysql
[root@www ~]$ killall mysqld 
[root@www ~]$ killall mysqld 
[root@www ~]$ ps -ef grep mysql 
root   18116 17514 0 09:57 pts/1  00:00:00 grep mysql
[root@www ~]$

啟動 mysqld ,現(xiàn)在執(zhí)行多次啟動命令都沒有問題。


[root@www ~]$ service mysql start 
Starting MySQL. SUCCESS! 
[root@www ~]$ 
[root@www ~]$ 
[root@www ~]$ 
[root@www ~]$ 
[root@www ~]$ service mysql start 
Starting MySQL SUCCESS! 
[root@www ~]$

前面 www.err 文件中顯示的 error: 11 到底是什么,看下:


[root@www ~]$ perror 11 
OS error code 11: Resource temporarily unavailable
[root@www ~]$ 
[root@www ~]$

以上就是MySQL無法啟動的解決辦法示例分享的詳細內(nèi)容,更多請關注php中文網(wǎng)其它相關文章!


學習教程快速掌握從入門到精通的SQL知識。




主站蜘蛛池模板: 亚洲综合色在线观看 | 最近中文字幕无免费视频 | 视频日韩p影院永久免费 | 日韩欧美网 | 中文国产日韩欧美视频 | 亚洲欧洲在线观看 | 日本欧美一区二区三区 | 夜夜嗨视频| 婷婷色爱区综合五月激情韩国 | 青青青在线 | 婷婷激情四月 | 亚洲aav| 天天碰人人 | 天天拍久久| 色悠久久久久综合欧美99 | 日本三级韩国三级欧美三级 | 色一情一乱一伦 | 中文字幕色婷婷在线视频 | 午夜狠狠操 | 午夜免费视频观看在线播放 | 日日噜噜夜夜狠狠久久aⅴ 日日噜噜夜夜狠狠扒开双腿 | 在线免费观看亚洲 | 日韩黄色一级视频 | 日韩福利视频高清免费看 | 欧美专区在线播放 | 亚洲黄色成人 | 深夜福利影院在线观看 | 婷婷激情综合 | 欧美性猛交xxxx乱大交 | 欧美亚洲中日韩中文字幕在线 | 亚洲视频第一页 | 亚洲欧美日韩第一页 | 欧美性xxxxxx性| 亚洲一区免费在线观看 | 亚洲 欧美 偷自乱 图片 | 四色婷婷婷婷色婷婷开心网 | 色域综合 | 亚洲 中文 欧美 日韩 在线 | 无遮挡激情 | 一级毛片a女人刺激视频免费 | 日本在线视频网 |