LinuxSir.cn,穿越时空的Linuxsir!

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

向各位大虾求助,安装MYSQL出现问题。

[复制链接]
发表于 2003-6-22 15:19:32 | 显示全部楼层 |阅读模式
在论坛上找了好久了,都没有相关的贴子,只能自己发贴了。
系统为REDHAT8。0,根据BABO兄弟发布的贴子
http://linuxsir.cn/forum.php?mod ... mp;highlight=igenus
安装MYSQL,上网找了个mysql-3.23.53-pc-linux-gnu-i686.tar.gz
但是一安装就出现下列提示:
WRNING: The host 'mail' 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 deamon, 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
030621  9:39:06  ./bin/mysqld: Shutdown Complete


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 !
This is done with:
./bin/mysqladmin -u root  password 'new-password'
./bin/mysqladmin -u root -h mail  password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com


再运行#./bin/safe_mysqld &
出现的提示是[root@mail bin]# The file /usr/local/mysql/libexec/mysqld doesn't exist or is no
t executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/safe_mysqld.


然后再运行./bin/mysql
出现的提示是ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
:

是不是安装包本身的问题呢?建立邮件系统能不能用LINUX自带的MYSQL??that your libc libraries are not 100 % compatible
with this binary MySQL version
等耐热心的高手来帮忙,万分感谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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