红旗linux下安装mysql 运行scripts/mysql_install_db --user=mysql报错

qq342888440 2013-09-12 10:55:14
[root@localhost mysql_client]# scripts/mysql_install_db --user=mysql
Installing MySQL system tables...
130911 5:56:51 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
130911 5:56:51 [ERROR] You need to use --log-bin to make --binlog-format work.
130911 5:56:51 [ERROR] Aborting

130911 5:56:51 [Note] /home/mysql-5.1.53/libexec/mysqld: Shutdown complete


Installation of system tables failed! Examine the logs in
/home/mysql-5.1.53/var for more information.

You can try to start the mysqld daemon with:

shell> /home/mysql-5.1.53/libexec/mysqld --skip-grant &

and use the command line tool /home/mysql-5.1.53/bin/mysql
to connect to the mysql database and look at the grant tables:

shell> /home/mysql-5.1.53/bin/mysql -u root mysql
mysql> show tables

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

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 /home/mysql-5.1.53/bin/mysqlbug script!

[root@localhost mysql_client]#

求高人解答!!!!
...全文
316 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Wentasy 2013-09-12
  • 打赏
  • 举报
回复
这不是错,只是警告,不影响正常使用。

56,679

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧