新到贵论坛,问个菜鸟问题,高手帮忙看下为什么我编译mysql不成功?

由 sunilu 在 10-13-2004 16:49 发表:

新到贵论坛,问个菜鸟问题,高手帮忙看下为什么我编译mysql不成功?

各位达人大家好,小弟刚学习LINUX一个多月。现在想编译安装mysql

按照贵论坛精华贴的说明step by step 安装mysql

但是第一步./configure --prefix=/usr/local/mysql 编译就不成功

提示错误信息我贴上来 请大家帮忙看看

041013 16:26:14 mysqld started

041013 16:26:14 [WARNING] Asked for 196608 thread stack, but got 126976

041013 16:26: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.

041013 16:26:14 mysqld ended

看错误好象是mysql编译不能通过目录,但是我用的是root帐户进行编译的啊,而且为了排除文件权限的问题把/usr/local/mysql 目录设置为777权限了。但是还是不行。

我用的linux 是 RedHat 7.3 内核是 2.4.18-3swp<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus