From: "Victor Martinez" <pitillo@ono.com> Sent: Tuesday, November 25, 2008 3:23 PM
On Mon, 24 Nov 2008 23:33:59 +0100 "Mats Pettersson" <mog.pettersson@telia.com> wrote:
Hi!
Hello Mats,
[...]
I know i can enable /etc/rc.d/mysqld in startup, but i just use mysql sometimes for testing and don't want to waste resources when i don't need it, and also this mysterious problem annoys me. :)
I am not sure if you tried or you know about this, but why don't you use the rc.d script to start mysqld? (/etc/rc.d/mysqld start) You can make an alias if you feel more confortable and there is no need to add it to the rc.conf file. Sorry if this is an obvious answer and you tried it.
Yup! i tried it and it works fine. However mysqld_safe has other error checking than /etc/rc.d/mysqld. But the strange thing is that somewhere somehow some privilieges must have been changed since mysqld_safe don't have access to /var/run as it must have had before (when it worked). Thats what makes me suspicious to whats really have happened. I have searched the net and found others that have reported the same problem, but i have not seen any explanation, just suggestions that they should alter privileges to /var/run or create a mysqld directory in /var/run with the right privileges. I don't have any problem with other applications that puts stuff in /var/run, so why suddenly just mysqld_safe? Mats