WEB开发网
开发学院数据库MySQL 在S8下安装mysql,不能运行,请指正 阅读

在S8下安装mysql,不能运行,请指正

 2007-11-11 14:33:30 来源:WEB开发网   
核心提示:安装过程没有出现出错的信息,安装完了,在S8下安装mysql,不能运行,请指正, 运行了MySQL(和PHP搭配之最佳组合)_install_db 再运行 safe_MySQL(和PHP搭配之最佳组合)d,了,出现如下出错信息, Starting MySQL(和PHP搭配之最佳组合)d daemon

  安装过程没有出现出错的信息,安装完了,
运行了MySQL(和PHP搭配之最佳组合)_install_db
再运行 safe_MySQL(和PHP搭配之最佳组合)d,了,出现如下出错信息,
Starting MySQL(和PHP搭配之最佳组合)d daemon with databases from /usr/MySQL(和PHP搭配之最佳组合)/var
020620 14:51:32 MySQL(和PHP搭配之最佳组合)d ended

查看MySQL(和PHP搭配之最佳组合)目录下var目录下的email.err文件,如下 
020612 11:38:56 MySQL(和PHP搭配之最佳组合)d started
020612 11:38:56 /usr/MySQL(和PHP搭配之最佳组合)/libexec/MySQL(和PHP搭配之最佳组合)d: Can't create/write to file '/usr/MySQL(和PHP搭配之最佳组合)/var/email.pid' (Errcode: 13) //主机名为email
020612 11:38:56 /usr/MySQL(和PHP搭配之最佳组合)/libexec/MySQL(和PHP搭配之最佳组合)d: Can't find file: './MySQL(和PHP搭配之最佳组合)/host.frm' (errno: 13)
020612 11:38:56 /usr/MySQL(和PHP搭配之最佳组合)/libexec/MySQL(和PHP搭配之最佳组合)d: Error on delete of '/usr/MySQL(和PHP搭配之最佳组合)/var/email.pid' (Errcode: 13)
020612 11:38:56 MySQL(和PHP搭配之最佳组合)d ended

为什么会出现如下情况呢,请高手指正,

要添加MySQL(和PHP搭配之最佳组合)用户及组,具体用法如下

shell> ./configure --prefix=/usr/local/MySQL(和PHP搭配之最佳组合)
shell> make
shell> make install
shell> scripts/MySQL(和PHP搭配之最佳组合)_install_db
shell> chown -R root /usr/local/MySQL(和PHP搭配之最佳组合)
shell> chown -R MySQL(和PHP搭配之最佳组合) /usr/local/MySQL(和PHP搭配之最佳组合)/var
shell> chgrp -R MySQL(和PHP搭配之最佳组合) /usr/local/MySQL(和PHP搭配之最佳组合)
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> /usr/local/MySQL(和PHP搭配之最佳组合)/bin/safe_MySQL(和PHP搭配之最佳组合)d --user=MySQL(和PHP搭配之最佳组合) &

Tags:安装 mysql 不能

编辑录入:coldstar [复制链接] [打 印]
赞助商链接