QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1254|回复: 2

MYSQL安装问题? 跪求指导!

[复制链接]
发表于 2004-10-29 10:12:24 | 显示全部楼层 |阅读模式
以下是我在readhat9上装mysql的情况,请指导一下是怎么回事,装不上呢!谢谢 :-)
[root@localhost mysql-standard-4.0.21-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
041028 21:50:59 Warning: Asked for 196608 thread stack, but got 126976
041028 21:50:59 ./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 !
To do so, start the server, then issue the following commands:
./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-standard-4.0.21-pc-linux-i686]# Starting mysqld daemon wit
h databases from /usr/soft/mysql-standard-4.0.21-pc-linux-i686/data
STOPPING server from pid file /usr/soft/mysql-standard-4.0.21-pc-linux-i686/data
/localhost.localdomain.pid
041028 21:50:59  mysqld ended

[root@localhost mysql-standard-4.0.21-pc-linux-i686]# make
make: *** No targets specified and no makefile found.  Stop.
[root@localhost mysql-standard-4.0.21-pc-linux-i686]# make install
make: *** No rule to make target `install'.  Stop.
[root@localhost mysql-standard-4.0.21-pc-linux-i686]#
发表于 2004-10-29 12:56:35 | 显示全部楼层
mysql不是这样安装的,是先手工将软件放到/usr/local/mysql中,然后执行............
不好意思,后面的命令忘记了
只要看readme就可以了,按照上面说的做。
回复

使用道具 举报

发表于 2004-10-29 13:59:32 | 显示全部楼层
又是一个把二进制版当源代码版安装的~~

你看看 INSTALL 文件吧~~~
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-16 16:45 , Processed in 0.052697 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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