LinuxSir.cn,穿越时空的Linuxsir!

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

为什么我在RedHat9无法安装MySQL4.1

[复制链接]
发表于 2005-5-23 14:02:43 | 显示全部楼层 |阅读模式
请高手帮我看看!!~~
Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-8 on an i686
login: xue
Password:
Last login: Mon May 23 12:33:37 from 61.159.97.44
[xue@redhat xue]$ su
Password:
su: incorrect password
[xue@redhat xue]$ su
Password:
[root@redhat xue]# cd /
[root@redhat /]# dir
bin   dev  home      initrd  lost+found  mnt     opt   root  tftpboot  usr
boot  etc  homepage  lib     misc        myfile  proc  sbin  tmp       var
[root@redhat /]# cd tmp
[root@redhat tmp]# dir
gcc-3.3.tar.gz
gcc-4.0.0
gcc-4.0.0.tar.bz2
httpd-2.0.54
httpd2.54.tar.gz
mysql
mysql.sock
mysql-standard-4.0.24-pc-linux-gnu-i686
mysql-standard-4.0.24-pc-linux-gnu-i686.tar.gz
orbit-root
orbit-xue
php-5.0.4
php-5.0.4.tar.gz
rar
ssh-XXzrdrEB
[root@redhat tmp]# cdm mysql
bash: cdm: command not found
[root@redhat tmp]# cd mysql
[root@redhat mysql]# dir
bin        docs               lib         scripts        tests
configure  EXCEPTIONS-CLIENT  man         share
COPYING    include            mysql-test  sql-bench
data       INSTALL-BINARY     README      support-files
[root@redhat mysql]# .configure --prefix=/usr/local/mysql
bash: .configure: command not found
[root@redhat 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 redhat.ydcninfo.com 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
[root@redhat mysql]# Starting mysqld daemon with databases from /tmp/mysql/data
STOPPING server from pid file /tmp/mysql/data/redhat.ydcninfo.com.pid
050523 14:00:22  mysqld ended
 楼主| 发表于 2005-5-24 00:11:01 | 显示全部楼层
难道这里没有高手吗??
up
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-24 23:07:31 | 显示全部楼层
顶顶!!
回复 支持 反对

使用道具 举报

发表于 2005-5-25 10:14:16 | 显示全部楼层
首先请你搞清楚你下的啥子东西!!!!!!
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
回复 支持 反对

使用道具 举报

发表于 2005-5-25 21:53:14 | 显示全部楼层
什么意思,???????????
回复 支持 反对

使用道具 举报

发表于 2005-5-25 22:12:13 | 显示全部楼层
你下载的是编译好的二进制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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