免费注册 查看新帖 |

Chinaunix

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

mysql 怎么也装不起来,是linux的版本问题吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-05-29 09:40 |只看该作者 |倒序浏览
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# ./configure --prefix=/web/mysql
WARNING: Your libc libraries are not 100 % compatible with this MySQL version
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 !
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table
./scripts/mysql_install_db: line 317:  3015 段错误                  $execdir/mysqld --bootstrap --skip-grant-tables --basedir=. --datadir=$ldata "$@"  <<END_OF_DATA
use mysql;
$c_d
$i_d

$c_h
$i_h

$c_u
$i_u

$c_f
$i_f

$c_t
$c_c
END_OF_DATA

Installation of grant tables failed!

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

shell>; ./bin/mysql -u root mysql
mysql>; show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql 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 ./bin/mysqlbug script!
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# MYSQL_UNIX_PORT=/tmp/mysqld-new.sock
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# MYSQL_TCP_PORT-3307
bash: MYSQL_TCP_PORT-3307: command not found
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# MYSQL_TCP_PORT=3307
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# export MYSQL_UNIX_PORT MYSQL_TCP_PROT
[root@Johnite mysql-3.22.32-pc-linux-gnu-i686]# scripts/mysql_install_db
WARNING: Your libc libraries are not 100 % compatible with this MySQL version
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 !
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table
scripts/mysql_install_db: line 317:  3111 段错误                  $execdir/mysqld --bootstrap --skip-grant-tables --basedir=. --datadir=$ldata "$@"  <<END_OF_DATA
use mysql;
$c_d
$i_d

$c_h
$i_h

$c_u
$i_u

$c_f
$i_f

$c_t
$c_c
END_OF_DATA

Installation of grant tables failed!

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

shell>; ./bin/mysql -u root mysql
mysql>; show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql 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 ./bin/mysqlbug script!

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

mysql 怎么也装不起来,是linux的版本问题吗?

gcc的版本是多少啊?

论坛徽章:
0
3 [报告]
发表于 2005-05-31 11:11 |只看该作者

mysql 怎么也装不起来,是linux的版本问题吗?

glibc版本太低了,或者升级你的glibc,或者找个老点儿的mysql来安装
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP