免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1605 | 回复: 5
打印 上一主题 下一主题

安装mysql-4.0.21-sol9-sparc-local后出现的问题-求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-30 09:46 |只看该作者 |倒序浏览
安装mysql-4.0.21-sol9-sparc-local后出现的问题“./mysql_install_db: /usr/local/bin/hostname: not found”
求助

论坛徽章:
0
2 [报告]
发表于 2005-03-30 10:27 |只看该作者

安装mysql-4.0.21-sol9-sparc-local后出现的问题-求助

hostname好像应该在/usr/bin目录下,试试
/usr/local/bin # ln -s /usr/bin/hostname .

论坛徽章:
0
3 [报告]
发表于 2005-03-30 10:44 |只看该作者

安装mysql-4.0.21-sol9-sparc-local后出现的问题-求助

./mysql_install_db: /usr/local/bin/hostname: cannot execute
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 !
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
ld.so.1: /usr/local/mysql/libexec/mysqld: fatal: libstdc++.so.5: open failed: No such file or directory
Killed
Installation of grant 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!
我 安装的是mysql-4.0.21-sol9-sparc-local.gz

论坛徽章:
0
4 [报告]
发表于 2005-03-30 10:46 |只看该作者

安装mysql-4.0.21-sol9-sparc-local后出现的问题-求助

感谢的回帖 在线等

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:1515-16赛季CBA联赛之上海
日期:2016-05-05 09:45:14
5 [报告]
发表于 2005-03-30 12:43 |只看该作者

安装mysql-4.0.21-sol9-sparc-local后出现的问题-求助

装一下libgcc-3.3-sol9-sparc-local.gz吧,,如果装过3.4.1的话,先删除,那样应该就没问题了,

论坛徽章:
0
6 [报告]
发表于 2005-08-23 23:44 |只看该作者

安装mysql-4.0.21-sol9-sparc-local后出现的问题-求助

我在安装mysql的时候也遇到了这个问题,想问一下兄台是如何解决的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP