当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求问:MYSQL启动失败
帖子发表于 : 2008-05-06 10:51 

注册: 2007-05-13 17:18
帖子: 9
送出感谢: 0 次
接收感谢: 0 次
我是用源码编译安装的mysql-5.0.16,我的系统是:ubuntu6.06LTS kernal:2.6

安装时按照wiki上的源码安装mysql(http://wiki.ubuntu.org.cn/index.php?title=Newcomer&variant=zh-cn)进行的。

当执行
代码:
/usr/local/mysql/bin/mysqld_safe -user=mysql&


后服务启动后就停止了,查看/usr/local/mysql/data/computer-name-err.log

内容为:
代码:
080506 09:20:32  mysqld started
mysqld got signal 4;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=0
read_buffer_size=258048
max_used_connections=0
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 76399 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xbfd6dac8, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x8365032
0xffffe420
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
080506 09:20:32  mysqld ended


可以确定data目录的权限没有问题,mysql用户和组都创建了。编译时选择的是X86通用cpu的设置。

请各位帮忙看看是哪里出了问题,我是第一次源码安装,所以我必须成功。多谢各位!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译