LinuxSir.cn,穿越时空的Linuxsir!

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

mysql的安装问题

[复制链接]
发表于 2005-10-20 11:31:58 | 显示全部楼层 |阅读模式
我想架设apache+mysql+php,可是装这几个软件都让我头爆了,还是装不了。

精华帖也看了不少,照着做也不行,apache 与 php 在make 和 make install 后都没有问题,在mysql解压后,用 ./configure 就出来了以下问题,不知道何故?

[root@localhost mysql-standard-5.0.12-beta-linux-i686]# ./configure --prefix=/soft/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 localhost password 'new-password'
See the manual for more instructions.

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
[root@localhost mysql-standard-5.0.12-beta-linux-i686]# Starting mysqld daemon with databases from /root/Desktop/mydocument/program/mysql-standard-5.0.12-beta-linux-i686/data
STOPPING server from pid file /root/Desktop/mydocument/program/mysql-standard-5.0.12-beta-linux-i686/data/localhost.pid
051020 11:13:23  mysqld ended



这行“NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!”我看懂了,可是接下去不知道怎么做了。

高手指点迷途吧,好吗?还有若能简单地说明一下如何架设apache+php+mysql,那就更好了,精华贴里的太复杂了。
发表于 2005-10-20 13:06:23 | 显示全部楼层
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

你下的是个二进制的安装文件,不需要编译安装
回复 支持 反对

使用道具 举报

发表于 2005-10-20 13:38:20 | 显示全部楼层
汗。。直接运行就行。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-20 14:16:23 | 显示全部楼层
怎么运行呢
回复 支持 反对

使用道具 举报

发表于 2005-10-20 14:20:50 | 显示全部楼层
看看INSTALL或README啊,我昨天刚安装的,没问题
运行是bin/safe_mysqld
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-20 14:23:31 | 显示全部楼层
你看看是什么意思

[root@localhost bin]# ./safe_mysqld
./safe_mysqld: line 1: my_print_defaults: command not found
./safe_mysqld: line 1: my_print_defaults: command not found
The file /usr/local/mysql/bin/mysqld doesn't exist or is not executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/mysqld_safe.
See http://dev.mysql.com/doc/mysql/en/mysqld_safe.html for more
information
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-20 14:36:32 | 显示全部楼层
[root@localhost mysql]# Starting mysqld daemon with databases from /program/mysql/mysql/data

哈哈,装好了,呵呵,谢谢
回复 支持 反对

使用道具 举报

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

本版积分规则

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