提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
[求助] 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 配置 保存 重启就不行了。- # mysql conf /etc/my.cnf
- # Created by http://www.wdlinux.cn
- # Last Updated 2010.06.01
- [client]
- port = 3306
- socket = /tmp/mysql.sock
- [mysqld]
- port = 3306
- socket = /tmp/mysql.sock
- skip-external-locking
- key_buffer_size = 384M
- max_allowed_packet = 4M
- table_open_cache = 512
- sort_buffer_size = 6M
- read_buffer_size = 4M
- read_rnd_buffer_size = 8M
- myisam_sort_buffer_size = 64M
- thread_cache_size = 64
- query_cache_size= 64M
- thread_concurrency = 8
- max_connections = 512
- wait_timeout = 10
- interactive_timeout = 30
- max_connect_errors = 30
- long_query_time = 1
- tmp_table_size = 16M
- #log-bin=mysql-bin
- #binlog_format=mixed
- #server-id = 1
- [mysqldump]
- quick
- max_allowed_packet = 8M
- [mysql]
- no-auto-rehash
- [myisamchk]
- key_buffer_size = 12M
- sort_buffer_size = 1M
- read_buffer = 1M
- write_buffer = 1M
- [mysqlhotcopy]
- interactive-timeout
-
复制代码 按照论坛的其他类似修复方法都失效。请管理员帮忙检查下是什么错误。
补充:使用 sh /www/wdlinux/tools/mysql_root_chg.sh 重置密码后,自动默认启动状态。怎么解决可以 正常重启mysql服务 |