四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

Board logo

標題: [求助] mysql啟動失敗quit without updating fi[FAILED [打印本頁]

作者: jiang9878    時間: 2012-8-25 11:54     標題: mysql啟動失敗quit without updating fi[FAILED

本帖最后由 jiang9878 于 2012-8-25 11:55 編輯

[root@localhost ~]# sed -i '/skip-innodb/d' /www/wdlinux/etc/my.cnf
[root@localhost ~]# service mysqld restart
MySQL manager or server PID file could not be found!       [FAILED]
Starting MySQL.Manager of pid-file quit without updating fi[FAILED]

centos5.6  64位 安裝一鍵包RPM     安裝完后修改了mysql的 root密碼 不能創(chuàng)建數(shù)據(jù)庫用戶,提示原始密碼錯,使用工具檢查mysql權(quán)限后,正常,然后修改mysql 配置 保存 重啟就不行了。
  1. # mysql conf /etc/my.cnf
  2. # Created by http://cd-genova.com
  3. # Last Updated 2010.06.01

  4. [client]
  5. port                = 3306
  6. socket                = /tmp/mysql.sock
  7. [mysqld]
  8. port                = 3306
  9. socket                = /tmp/mysql.sock
  10. skip-external-locking
  11. key_buffer_size = 384M
  12. max_allowed_packet = 4M
  13. table_open_cache = 512
  14. sort_buffer_size = 6M
  15. read_buffer_size = 4M
  16. read_rnd_buffer_size = 8M
  17. myisam_sort_buffer_size = 64M
  18. thread_cache_size = 64
  19. query_cache_size= 64M
  20. thread_concurrency = 8
  21. max_connections = 512
  22. wait_timeout = 10
  23. interactive_timeout = 30
  24. max_connect_errors = 30
  25. long_query_time = 1
  26. tmp_table_size = 16M
  27. #log-bin=mysql-bin
  28. #binlog_format=mixed
  29. #server-id        = 1
  30. [mysqldump]
  31. quick
  32. max_allowed_packet = 8M
  33. [mysql]
  34. no-auto-rehash
  35. [myisamchk]
  36. key_buffer_size = 12M
  37. sort_buffer_size = 1M
  38. read_buffer = 1M
  39. write_buffer = 1M
  40. [mysqlhotcopy]
  41. interactive-timeout
  42.         
復制代碼
按照論壇的其他類似修復方法都失效。請管理員幫忙檢查下是什么錯誤。
補充:使用 sh /www/wdlinux/tools/mysql_root_chg.sh 重置密碼后,自動默認啟動狀態(tài)。怎么解決可以 正常重啟mysql服務(wù)
作者: qqcm    時間: 2012-8-25 12:21

回復 1# jiang9878


    /www/wdlinux/init.d/mysqld 這個是相關(guān)啟動重啟mysql配置文件,檢測一下有沒有給予執(zhí)行權(quán)限,設(shè)置是否有誤
作者: jiang9878    時間: 2012-8-25 13:21

回復 2# qqcm


    估計是權(quán)限問題,我卸載重裝rpm 就好了。
作者: pow325400    時間: 2017-8-28 11:05

chown -R mysql.mysql .




歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/) Powered by Discuz! 7.2