|
1.执行了
configure --prefix=/usr/mysql
make
make install
2.useradd -r mysql
以上步骤,一切正常。
3.但是在执行
/usr/mysql/bin/mysql_install_db时出现提示,不知道应该如何处理?
提示内容:
Installing privilege 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:
/usr/mysql/bin/mysqladmin -u root password 'new-password'
/usr/mysql/bin/mysqladmin -u root -h www.rhlinux.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 /usr/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 /usr/mysql ; /usr/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 /usr/mysql/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
但是在安装目录(/usr/mysql)里没有support-files/mysql.server文件,不知道应该如何处理? |
|