LinuxSir.cn,穿越时空的Linuxsir!

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

debian下编译安装myslq问题。

[复制链接]
发表于 2006-3-15 23:08:48 | 显示全部楼层 |阅读模式
大家好。在网上搜了很久,不得以在这里问问大家,我在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-16 12:45:00 | 显示全部楼层
debian系统不是可以自动从网上把软件下载回来,自动安装配置的吗
回复 支持 反对

使用道具 举报

发表于 2006-3-16 12:51:15 | 显示全部楼层
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
你下的是二进制包,编译什么???
回复 支持 反对

使用道具 举报

发表于 2006-3-16 15:23:37 | 显示全部楼层
你用的是debian,那么aptitude install mysql-server-5.0一切都会自动搞掂的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-16 19:46:39 | 显示全部楼层
我需要把apache+mysql+php整合起来。看了很多教程都是编译安装整合的。所以没办法啊。
有知道的朋友教教我。谢谢。
回复 支持 反对

使用道具 举报

发表于 2006-3-16 21:30:47 | 显示全部楼层
把你以前安装的全清除,然后apt-get install apache mysql php
如果不行,运行aptitude在里面选软件包。那么教程是什么时候的?
回复 支持 反对

使用道具 举报

发表于 2006-3-16 21:34:20 | 显示全部楼层
http://debian.linuxsir.cn/book/server/kanaka/ApacheMySQLPHP4.html
自己看去。提问前先搜索本论坛/google/baidu
回复 支持 反对

使用道具 举报

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

本版积分规则

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