LinuxSir.cn,穿越时空的Linuxsir!

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

编译mysql出错

[复制链接]
发表于 2006-3-15 22:47:19 | 显示全部楼层 |阅读模式
大家好。在网上搜了很久,不得以在这里问问大家,我在debian系统下编译安装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 all prepared tables
Fill help tables

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 debian password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

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

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl 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
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
debian:/home/koky/server/mysql-standard-5.0.19-linux-i686-glibc23# Starting mysqld daemon with databases from /home/koky/server/mysql-standard-5.0.19-linux-i686-glibc23/data
STOPPING server from pid file /home/koky/server/mysql-standard-5.0.19-linux-i686-glibc23/data/debian.pid
060316 06:44:21  mysqld ended

似乎是我装了mysql??可是我检查了系统没有阿。。怎么回事?请数据库高手们赐教。我的是debian系统。下载的是mysql-standard-5.0.19-linux-i686-glibc23。谢谢。
发表于 2006-3-15 23:57:50 | 显示全部楼层
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-16 19:52:50 | 显示全部楼层
我不configure它,那我怎么运行啊??不行的。。
回复 支持 反对

使用道具 举报

发表于 2006-3-22 13:32:54 | 显示全部楼层
$SQLDIR/scripts/mysql_install_db

$SQLDIR/bin/safe_mysqld &
回复 支持 反对

使用道具 举报

发表于 2006-3-22 14:40:11 | 显示全部楼层
已经写的很清楚了
而且我看到过80%的编译失败都是这个提示。。。
回复 支持 反对

使用道具 举报

发表于 2006-3-22 14:40:17 | 显示全部楼层
已经写的很清楚了
而且我看到过80%的编译失败都是这个提示。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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