nowind 发表于 2004-5-26 12:14:56

安装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
040526 11:33:16Warning: Asked for 196608 thread stack, but got 126976
040526 11:33:16./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.

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
# chown: ‘mysql’: 无效的用 户
Starting mysqld daemon with databases from /var/local/mysql-standard-4.0.20-pc-l inux-i686/data
040526 11:33:17mysqld ended

怎么办?

nowind 发表于 2004-5-26 12:19:58

我进入http://www.mysql.com ,全英文,不知道该下哪个版本,有Linux (x86, libc6)      
Linux (S/390),Linux (IA64),Linux (Alpha)等等,我就下了第一个Linux (x86, libc6)        Standard        4.0.20        15.2M        下下来解压后就是:mysql-standard-4.0.20-pc-linux-i686,不知道对不对.

sagaeon 发表于 2004-5-26 12:56:38

就是这个吧。(后面的指体系架构,如果你是intel的86系列就对,包括奔腾系列)

nowind 发表于 2004-5-26 13:28:51

intel的86系列?是只CPU吗?我的是AMD 毒龙850

jiangtao9999 发表于 2004-5-26 17:50:00

intel的86系列?是只CPU吗?我的是AMD 毒龙850
放心 ,现在的 x86 是一个行业标准,它不是 Intel 自己才可以用的。AMD 系列都支持。
建议你看看CPU的发展史,从先童公司开始看起。

至于那个 MySQL 错误,错误开始已经说得很明白,这是一个二进制发行版,不需要 ./configure

nowind 发表于 2004-5-26 20:16:47

斑竹老大,厉害,我6级都没有过,英语很菜啊,看到英语就不想看,嘿嘿。
那你说不用./configure,那我该怎么做呢?

nowind 发表于 2004-5-27 10:34:09

斑竹老大,厉害,我6级都没有过,英语很菜啊,看到英语就不想看,嘿嘿。
那你说不用./configure,那我该怎么做呢?

jiangtao9999 发表于 2004-5-27 15:00:49

老大~~我英语3级B都不知道能不能过~~~

具体怎么安装你看看 INSTALL 文件。里面有详细的步骤。
如果懒得装,看错误信息的意思,直接就可以运行~~~~~

./bin/mysqld_safe &

nowind 发表于 2004-5-27 16:52:08

正在研究`````````

noahboat 发表于 2004-5-29 16:23:03

安装二进制版本是不用再编译的,其解压就是就相当于软件的安装过程了。

解压完还不能直接运行的,还要先导入mysql的权限表:

mysql当前目录: $ ./scripts/mysql_install_db

然后就可以启动服务器或进入客户端了。

nowind 发表于 2004-5-30 11:32:47

哦,明白了,不甚感激!

shaw 发表于 2004-6-6 14:50:12

我也碰到这个问题,英语我倒是不怕.但是到:mysql当前目录: $ ./scripts/mysql_install_db
提示:bash: ./scripts/mysql_insatll_db: 没有那个文件或目录,
这个scripts在哪里呢?

nowind 发表于 2004-6-6 17:44:00

朋友,别装这些了,把这些都卸了,其实redhat9.0都自带有这些!

jiangtao9999 发表于 2004-6-6 17:51:59

朋友,别装这些了,把这些都卸了,其实redhat9.0都自带有这些!
:mrgreen:

nowind 发表于 2004-6-6 17:57:02

99999,笑什么,我是不是又说错了?
页: [1] 2
查看完整版本: 安装mysql出错!!!!!!!!!!!!!!!!!!!!!