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密码 不能创建数据库用户,提示原始密码错,使用工具检查mysql权限后,正常,然后修改mysql 配置 保存 重启就不行了。
  1. # mysql conf /etc/my.cnf
  2. # Created by http://www.wdlinux.cn
  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 重置密码后,自动默认启动状态。怎么解决可以 正常重启mysql服务
作者: qqcm    时间: 2012-8-25 12:21

回复 1# jiang9878


    /www/wdlinux/init.d/mysqld 这个是相关启动重启mysql配置文件,检测一下有没有给予执行权限,设置是否有误
作者: jiang9878    时间: 2012-8-25 13:21

回复 2# qqcm


    估计是权限问题,我卸载重装rpm 就好了。
作者: pow325400    时间: 2017-8-28 11:05

chown -R mysql.mysql .




欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2