|
本人DOWNLOAD了mysql-standard-5.0.0-alpha-pc-linux-i686.tar.gz,然后安装,步骤如下:
1: tar -xzvf mysql-standard-5.0.0-alpha-pc-linux-i686.tar.gz -C /mysql
2: cd mysql/mysql-standard-5.0.0-alpha-pc-linux-i686
3:./configure --prefix=/mysql
执行到此,问题出现了./configure 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
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 my.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@my mysql-standard-5.0.0-alpha-pc-linux-i686]# Starting mysqld daemon with
databases from /lhb/mysql-standard-5.0.0-alpha-pc-linux-i686/data
040115 19:17:01 mysqld ended
大概意思我知道就说不用编译了,此软件已经运行.我是新手,我装的是LINUX9.0
如果这个版本默认带了MYSQL的话,那程序在哪里,该怎么样运行.如果真有话,怎么样才能卸掉,我试过"rpm -e mysql" ,问题又来了
#rpm -e mysql
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12
libmysqlclient.so.10 is needed by (installed) mysql-server-3.23.54a-11
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3
libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17
mysql = 3.23.54a is needed by (installed) mysql-server-3.23.54a-11
望各位斑竹,高手指教,小弟谢先了 |
|