【讨论】在FEDORA release 4下安装MySQL的问题
系统安的是Fedora release 4,是自定义安装的,MySQL的版本是mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz,我把压缩包解压缩到/usr/local下,然后用[root@snort mysql]# ./configure --prefix=/usr/local/mysql --sysconfdir=/etc --localstatedir=/var/lib/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 snort.com.cn 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
[url="http://www.mysql.com"]http://www.mysql.com[/url]
Support MySQL by buying support/licenses at [url="https://order.mysql.com"]https://order.mysql.com[/url]
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@snort mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/snort.com.cn.pid
051202 09:59:26 mysqld ended
我也查了相关文档,按照各位的方法试了,还是不行,不知哪位大虾能全面地指点下,感激万分!