MYSQL无法启动

MYSQL无法启动

系统版本
LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description:    Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
Release:        4
Codename:       NahantUpdate5

MYSQL版本
mysql-5.0.22.tar.gz


错误提示
/usr/local/mysql/bin/mysqld_safe --user=mysql &
[1] 11153
[root@server-39 mysql]# Starting mysqld daemon with databases from /usr/local/mysql/var
STOPPING server from pid file /usr/local/mysql/var/server-39.pid
080813 22:21:18  mysqld ended

报错日志
/usr/local/mysql/libexec/mysqld: Can't read dir of '/tmp/' (Errcode: 13)
/usr/local/mysql/libexec/mysqld: Can't create/write to file '/tmp/ibrDizBz' (Err
code: 13)
080813 22:21:18  InnoDB: Error: unable to create temporary file; errno: 13
080813 22:21:18 [ERROR] Can't start server : Bind on unix socket: Permission den
ied
080813 22:21:18 [ERROR] Do you already have another mysqld server running on soc
ket: /tmp/mysql.sock ?
080813 22:21:18 [ERROR] Aborting

080813 22:21:18 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

080813 22:21:18  mysqld ended

分析报错日志
1、经对/tmp 设权限chmod 1777 由于我是ROOT操作,chown -R root:root /tmp
2、日志当中提示,说我另外一个程序在运行,ps -axu |grep mysql看过没有。
3、my.cnf里面 /tmp/mysql.sock 指向是正确的
4、最后我对MYSQL重装过好几次全是一模一样问题。
帮帮忙回回话
你看下你的端口是不是被别的占用了
你用tgz安装,看一下包里面的install文档吧!里面有安装说明,我想你可能漏了哪一步;
看的错误日志感觉是tmp没有权限,但你又说权限没有问题;