安装mysql 出现“The error means mysqld does not have the access rights to”
问题描述:
1.下载mysql 5.0.86安装包;
2.按照网上步骤运行
# ./configure --prefix=/usr/local/mysql \ //设定安装目录
--enable-thread-safe-client \ //编译线程安全版的客户端库
--without-debug \ //关闭debug功能
--with-extra-charsets=gb2312 \ //添加gb2312中文字符支持
--enable-assembler \ //使用一些字符函数的汇编版本
--with-raid \ //激活raid支持
# make //编译
# make install //安装
3.出现问题的是make,提示“no target 。。。no targets specified and no makefile found”这个提示。
4.接着进入 data查看日志文件。
5.日志文件结果:
031205 22:50:14 mysqld started
031205 22:50:14 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
031205 22:50:14 mysqld ended
请教朋友们给点建议。