[求助]按北南兄的安装方法装mysql时mysql_install_db时出错

由 sphygmus 在 04-28-2004 14:24 发表:

[求助]按北南兄的安装方法装mysql时mysql_install_db时出错

[root@rhnew mysql]# /opt/mysql/bin/mysql_install_db

Installing all prepared tables

040429 14:22:48 /opt/mysql/libexec/mysqld: Shutdown Complete

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:

/opt/mysql/bin/mysqladmin -u root password 'new-password'

/opt/mysql/bin/mysqladmin -u root -h rhnew password 'new-password'

See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run

the /opt/mysql/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 /opt/mysql ; /opt/mysql/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 /opt/mysql/bin/mysqlbug script!

The latest information about MySQL is available on the web at

http://www.mysql.com

Support MySQL b

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus