./configure mysql的问题?

shang12 2008-09-25 02:42:16
虚拟机上安装mysql.
256M内存.8G IDE硬盘
虚拟机vmware workstation 6.0安装的Redhat as4.
安装了Xwindow.开发工具,系统管理.windows文件服务.
全新安装了以后,用smb将mysql-5.0.67-linux-i686-glibc23.tar.gz
参照安装手册:http://dev.mysql.com/doc/refman/5.1/zh/installing.html#installing-binary (2.8.1源码安装概述)
放到AS4中,用root身份登录,解压后执行
groupadd mysql
useradd -g mysql mysql
./configure --prefix=/usr/local/mysql 就出现以下的提示..

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
Installing MySQL system tables...
OK
Filling help tables...
OK
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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h rc password 'new-password'

Alternatively you can run:
./bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

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

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

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 http://shop.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@rc mysql-5.0.67-linux-i686-glibc23]# Starting mysqld daemon with databases from /tmp/mysql-5.0.67-linux-i686-glibc23/data
STOPPING server from pid file /tmp/mysql-5.0.67-linux-i686-glibc23/data/rc.pid
080925 14:05:55 mysqld ended

...全文
73 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
shang12 2008-09-25
  • 打赏
  • 举报
回复
晕死啊.害我搞了半天...
谢谢了.
yangxiao_jiang 2008-09-25
  • 打赏
  • 举报
回复
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

已经说明了,你下载的不是源代码,不需要编译的,察看目录下的read me

56,678

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧