LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3208|回复: 8

安装MySQL-server-5.0.15-0.i386.rpm启动失败的原因?

[复制链接]
发表于 2005-11-11 22:45:45 | 显示全部楼层 |阅读模式
FC4下安装
MySQL-server-5.0.15-0.i386.rpm
后,提示:
051111 21:17:16 [Warning]
Asked for 196608 thread stack, but got 126976
Fill help tables
051111 21:17:16 [Warning] Asked for 196608 thread stack, but got 126976
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
文件localhost.localdomain.err内容为:
051111 22:20:34  mysqld started
051111 22:20:34  mysqld ended

请问是什么原因?我该怎么办?请指教!谢谢!!!
 楼主| 发表于 2005-11-12 22:07:20 | 显示全部楼层
没人知道吗?我运行 /usr/share/mysql/mysql.server start 是可以启动的,但是service mysql start就不行,开机时Start mysql 也提示 失败,请问哪里出问题了?请指教!!!谢谢阿
回复 支持 反对

使用道具 举报

发表于 2005-11-13 03:11:25 | 显示全部楼层
service命令对应的启动脚本好象是/etc/init.d里面的,如果你安装mysql的时候没有修改/覆盖那里的脚本,service是启动不成功的,因为你的系统的程序文件已经被新的覆盖了,需要新的脚本
建议:cp /usr/share/mysql/mysql.server /etc/init.d/rc.d/mysqld
不过我没有实验过,反正是启动脚本的目录和文件名
回复 支持 反对

使用道具 举报

发表于 2005-11-13 09:38:05 | 显示全部楼层
难道看不懂英文吗?写的很清楚拉

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

Asked for 196608 thread stack, but got 126976
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-13 10:18:43 | 显示全部楼层
现在是 开机启动时,mysql启动失败,但是在终端运行 service mysql start 是可以启动的
回复 支持 反对

使用道具 举报

发表于 2005-11-14 19:55:40 | 显示全部楼层
系统的mysql支持应该是mysqld不是mysql,你的启动脚本的名称不对哈
回复 支持 反对

使用道具 举报

发表于 2005-11-19 14:53:36 | 显示全部楼层
Post by ppgo
难道看不懂英文吗?写的很清楚拉

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

Asked for 196608 thread stack, but got 126976

请问support-files在哪里呢?
/usr/share/mysql下没有这个目录,也没有mysql.server呀?
回复 支持 反对

使用道具 举报

发表于 2005-12-9 15:01:45 | 显示全部楼层
呵呵,你可以用find或者locate之类的命令查找一下mysql.server的
或者干脆你直接在/etc/rc.d/rc.local里加入service mysqld start
或者 /usr/share/mysql/mysql.server start 这句话就可以了~!
下次记得把你安装的Mysql的版本号码,是RPM还是TAR都写清楚,不同的安装方式有不同的答案的:-)
回复 支持 反对

使用道具 举报

发表于 2005-12-21 13:07:32 | 显示全部楼层
外日,就这个JB难
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表