落伍者站长论坛's Archiver

FeyHoo 发表于 2008-4-12 23:59

Linux下mysql问题

我之前是打算改下my.cnf,设置了默认字符集.

然后重启MySQL就启动不了啦..

显示错误信息:

[quote][root@localhost ~]# /etc/rc.d/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  [FAILED][/quote]

错误日志:

[quote]080412 08:44:18  mysqld started
080412  8:44:18 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 304 error messages,
but it should contain at least 476 error messages.
Check that the above file is the right version for this program!
080412  8:44:18 [ERROR] Aborting

080412 08:44:18  mysqld ended[/quote]

我现在又把my.cnf恢复到默认了,还是启动不了MySQL。

我用 vi my.cnf 指令打开 my.cnf 文件。怎么看到的只有这些:

[quote][root@flashad etc]# vi my.cnf

#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout[/quote]

顺便问一下...之前我登陆SSH都是显示的 root@localhost ,现在确是 root@flashad 。
why?


————————————————————————————
我QQ:53426

phpsir.com 发表于 2008-4-13 20:46

这个问题可以联系 QQ 733905 来帮助您,请将本帖地址发给他

cnfly 发表于 2008-4-14 16:01

*** 作者被禁止或删除 内容自动屏蔽 ***

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.