头孢米诺钠 青霉素:Linux下MYSQL安装问题,请前辈解答

来源:百度文库 编辑:高校问答 时间:2024/04/29 11:55:17
我在输入./configure \的时候提示:
[root@localhost mysql-standard-5.0.22-linux-i686]# ./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
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 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 http://shop.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql-standard-5.0.22-linux-i686]# Starting mysqld daemon with databases from /home/src/mysql-standard-5.0.22-linux-i686/data
STOPPING server from pid file /home/src/mysql-standard-5.0.22-linux-i686/data/localhost.localdomain.pid
060804 16:08:15 mysqld ended

然后也不能make,更不能make install了,装了几次,还下过了几个不同的包,这是怎么回事?

MYSQL是不能MAKE,MAKEINSTALL的, 好像有个scripts/mysql_install_db这个文件,你找找看,运行它就OK了.