|
|
请高手帮我看看!!~~
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 |
|