- 论坛徽章:
- 0
|
解决方法的链接在这里:http://bbs.chinaunix.net/viewthr ... &extra=page%3D1
系统: RHEL-U2. mysql-max-5.0.16-linux-i686-glibc23.tar.gz
shell>groupadd mysql
shell>useradd -g mysql mysql
shell>./mysql_install_db --user=mysql
/*出来提示: */
./mysql_install_db: line 85: my_print_defaults: command not found
Could not find help file 'fill_help_tables.sql' in ./support-files or inside ..
/*接着退出 scripts/ 目录, 在 mysql/ 目录下打入命令: */
shell>scripts/mysql_install_db --user=mysql
/*出现不同的提示: */
Installing all prepared tables
Fill help tables
HELP FILES CAN NOT COMPLETE INSTALL
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 https://order.mysql.com
/*知道出问题了,却继续试着安装*/
shell>chmod -R root .
shell>chmod -R mysql data
shell>chmod -R mysql .
shell>./bin/mysqld_safe --user=mysql &
/*结果不出所料,启动不起来! 后来以为是 MAX版本的事情,试了STAND 版本 ,结果是一样的,实在是没办法了,googel也找不到答案,上来发贴了.之前用的 Cent-OS 4的时候很正常,换成RHEL-U2后,就这样了.清各位花一丁点时间帮个小忙,解决一下,谢谢!!!
如果需要提供更多的信息,请提示我!
[ 本帖最后由 jjzeng 于 2006-2-23 11:50 编辑 ] |
|