Chinaunix

标题: mysql初始化失败 [打印本页]

作者: 秦义勇    时间: 2010-01-04 12:55
标题: mysql初始化失败
derek:/opt/mysql-5.0.75 # /usr/local/mysql/bin/mysql_install_db --user=mysql          FATAL ERROR: Could not find SQL file '/usr/local/mysql//share/mysql/fill_help_tables.sql'
这个文件的路径为:/usr/local/mysql/mydata/mysql/fill_help_tables.sql
操作系统为S.u.S.E Linux Enterprise 10
小弟我初学习Linux不久希望高手指教!
作者: 秦义勇    时间: 2010-01-04 13:14
我找了好久也没有找到这方面的资料 应该是用什么命令改变默认的执行路径?
作者: Coolriver    时间: 2010-01-04 13:21
原帖由 秦义勇 于 2010-1-4 12:55 发表
derek:/opt/mysql-5.0.75 # /usr/local/mysql/bin/mysql_install_db --user=mysql          FATAL ERROR: Could not find SQL file '/usr/local/mysql//share/mysql/fill_help_tables.sql'
这个文件的路径为: ...


方便说一下你的MySQL是怎么安装的吗?
作者: 秦义勇    时间: 2010-01-04 13:36
./configure --prefix=/usr/local/mysql/ --datadir=/usr/local/mysql/mydata --with-big-tables --with-plugins=innodbase --with-plugins=partition
make && make install
作者: 只爱睡觉    时间: 2010-01-05 11:48
  1. derek:/opt/mysql-5.0.75 # /usr/local/mysql/bin/mysql_install_db --user=mysql          FATAL ERROR: Could not find SQL
复制代码

看你的操作是想让mysql以mysql运行吧?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2