mysql 安装错误,请救急!

由 Green 在 11-24-2002 16:44 发表:

mysql 安装错误,请救急!

解包后,操作:

[root@localhost soft]# groupadd mysql

[root@localhost soft]# useradd -g mysql mysql

[root@localhost soft]# ls

mysql.4.tar.gz mysql-max-4.0.5-beta-pc-linux-i686

[root@localhost soft]# cd mysql-max-4.0.5-beta-pc-linux-i686

[root@localhost mysql-max-4.0.5-beta-pc-linux-i686]# ./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.

Preparing db table

Preparing host table

Preparing user table

Preparing func table

Preparing tables_priv table

Preparing columns_priv table

Installing all prepared tables

021124 16:45:14 ./bin/mysqld: Shutdown Complete

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 !

This is done with:

./bin/mysqladmin -u root password 'new-password'

./bin/mysqladmin -u root -h localhost.localdomain 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-max-4.0.5-beta-pc-linux-i686]# Starting mysqld daemon with databases from /home/soft/mysql-max-4.0.5-beta-pc-linux-i686/data

021124 16:45:15 mysqld ended

然后无法make;make install

偶新手,请指教,谢谢


由 Green 在 11-24-2002 18:12 发表:



由 johnpanq 在 11-25-2002 12:11 发表:


因为你用的是mysql的二进制包,不需要进行编译!直接./configure --prefix=/usr/local/mysql就可以了!

而如果是原代码包,则需要make ,make install !


由 Green 在 11-25-2002 12:13 发表:


不make的话,接下来怎么做啊?

我看 /usr/local/mysql的目录都没生成阿


由 Green 在 11-25-2002 12:16 发表:


> quote: > > * * * > > 最初由 johnpanq 发布
>
> **因为你用的是mysql的二进制包,不需要进行编译!直接./configure --prefix=/usr/local/mysql就可以了!
>
> 而如果是原代码包,则需要make ,make install ! ** > > * * *

原码包哪下阿?官方网站我

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus