LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2004-4-28 14:24:14 | 显示全部楼层 |阅读模式
[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 by buying support/licenses at https://order.mysql.com

然后没有出现var目录
不知道是什么原因?
 楼主| 发表于 2004-4-28 23:27:29 | 显示全部楼层
自己找到原因了
是因为my-medium.conf文件拷贝的原因
拷贝的时候提示我是否覆盖,我直接回车了以为默认yes,谁知道还要y后回车啊
new guy呀
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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