LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 918|回复: 4

从源代码模式安装mysql的问题

[复制链接]
发表于 2004-9-29 09:30:53 | 显示全部楼层 |阅读模式
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文件,不知道应该如何处理?
 楼主| 发表于 2004-9-29 09:38:42 | 显示全部楼层
我顶
 楼主| 发表于 2004-9-29 09:53:24 | 显示全部楼层
我再顶
 楼主| 发表于 2004-9-29 10:01:53 | 显示全部楼层
怎么没人回贴
发表于 2004-10-10 22:01:14 | 显示全部楼层
/usr/mysql/share/mysql/mysql.server
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表