LinuxSir.cn,穿越时空的Linuxsir!

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

求助:Linux下初始化MySQL失败

[复制链接]
发表于 2006-10-12 19:17:27 | 显示全部楼层 |阅读模式
为什么执行:/usr/local/mysql/scripts/mysql_install_db 无法初始化MySQL

Installing all prepared tables
Installation of system tables failed!


Examine the logs in /var/lib/mysql for more information.

You can also try to start the mysqld daemon with:

./bin/mysqld --skip-grant &

You can use the command line tool

./bin/mysql to connect to the mysql

database and look at the grant tables:


shell> ./bin/mysql -u root mysql

mysql> show tables


Try 'mysqld --help' if you have problems with paths. Using --log

gives you a log in /var/lib/mysql 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 is the MySQL email archive.

Please check all of the above before mailing us!

And if you do mail us, you MUST use the ./bin/mysqlbug script!
发表于 2006-10-13 09:03:06 | 显示全部楼层
查看 data(或var) 目录下的 xx.err 文件记录的内容先
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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