# ./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
会员注册
会员登录
个人空间