阅 读 文 章

mysql安装出错,求救

[来源:网上转载 (http://bbs.chinaunix.net) | 作者:网友() | 时间:2007-06-23 | 浏览:人次 ]

我的系统是solaris10,mysql安装正常,但在执行mysql_install_db的时候出错,如下:
# ./mysql_install_db -usr=mysql
./mysql_install_db: /usr/local/bin/hostname: 没找到
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
ld.so.1: mysqld: 致命的: libssl.so.0.9.8: 打开失败: 无此文件或目录
被杀掉
Installation of system tables failed!

Examine the logs in /usr/local/mysql/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/mysql/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/local/mysql/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql/var that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug script!



哪位大虾指点一下哦,呵呵

高手在哪?急死偶了哇

try install openssl 0.9.8

我从/usr/bin/目录下拷贝了一份hostname文件到/usr/local/bin/目录下,再运行,还是报错:
# ./mysql_install_db -user=mysql
WARNING: The host 'test' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
ld.so.1: mysqld: 致命的: libssl.so.0.9.8: 打开失败: 无此文件或目录
被杀掉
Installation of system tables failed!



顺便问一句楼上的,openssl 0.9.8是个什么东东阿?呵呵

libssl.so.0.9.8
到sunfreeware.com上去找,,那里基本上都有!


www.sunfreeware.com上好像没有找到这个libssl.so.0.9.8哦,谁有啊?

顶上去

按照提示用下面的命令也还是报错
# ./mysqld -skip--grant &
ld.so.1: mysqld: ???: libssl.so.0.9.8: ????: ???????
2707
2707 ???

关键就是libssl.so.0.9.8这个东西了,找了n多个地方都没找到这个,郁闷

Openssl:

For Solaris 10(SPARC):
http://sunfreeware.com/programlistsparc10.html#openssl098
TAG标签 : 安装 the to you MySQL that is on server socket mysqld

最新评论 共有1位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.