You are not logged in.

#1 2008-02-20 12:55:52

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Cant start mysqld

[root@Imperiet /]# rm -r var/lib/mysql/
[root@Imperiet /]# /etc/rc.d/mysqld start
Installing MySQL system tables...
ERROR: 1004  Can't create file '/tmp/#sql19b1_1_0.frm' (errno: 13)
080220 13:49:54 [ERROR] Aborting



thast my error, tried removing mysql and the /var/lib/mysql and reinstalling, still not working.

Ideas?

Offline

#2 2008-02-20 13:03:32

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Cant start mysqld

Are the permissions on /tmp correct, as I believe mysql runs as the user mysql not as root, so if the permissions are wrong and mysql cannot write to this directory you will have problems.  I belive the permissions on /tmp should be 1777 although it would be nice if someone could confirm my statement before you chmod it.

Last edited by gazj (2008-02-20 13:04:24)

Offline

#3 2008-02-20 13:05:13

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: Cant start mysqld

tried with 1755 same error

Offline

Board footer

Powered by FluxBB