免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2762 | 回复: 4
打印 上一主题 下一主题

bin/mysql_install_db --user=mysql 出错! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-24 12:34 |只看该作者 |倒序浏览
[root@CH mysql]# bin/mysql_install_db --user=mysql
Installing MySQL system tables...
090204  8:17:59 [ERROR] /usr/local/webserver/mysql/libexec/mysqld: unknown option '--skip-federated'
090204  8:17:59 [ERROR] Aborting

090204  8:17:59 [Note] /usr/local/webserver/mysql/libexec/mysqld: Shutdown complete


Installation of system tables failed!  Examine the logs in
/usr/local/webserver/mysql/var for more information.

You can try to start the mysqld daemon with:

    shell> /usr/local/webserver/mysql/libexec/mysqld --skip-grant &

and use the command line tool /usr/local/webserver/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /usr/local/webserver/mysql/bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in /usr/local/webserver/mysql/var that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com/.  Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the /usr/local/webserver/mysql/bin/mysqlbug script!

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
2 [报告]
发表于 2009-02-24 13:03 |只看该作者
my.cnf文件里的--skip-federated前加进号

论坛徽章:
0
3 [报告]
发表于 2009-02-24 13:18 |只看该作者
试下!谢谢!
xxdxxd 该用户已被删除
4 [报告]
发表于 2009-02-24 17:33 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
5 [报告]
发表于 2009-02-24 17:35 |只看该作者
原帖由 xxdxxd 于 2009-2-24 17:33 发表
最近这个问题好像很多,大家都在忙着学习MySQL呀


好多是网上搜的配置文件。。
5.1 正式版不支持这样配置了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP