Though most likely you won't need to be a guru to answer my question.
I'm trying to get MySQL to start when my linux box starts, and to that end I've got a script in /etc/rc.d/init.d/ to run the mysql.server script; and a symbolic link in /etc/rc.d/rc5.d/ (I'm running kde, hence runlevel 5).
During startup, it all seems to run correctly, but it doesn't actually load. When I try to start it as a normal user, I get the error "/usr/local/mysql/bin/safe_mysqld: /usr/local/mysql/var/iago.lan.err: Permission denied" (iago.lan is the FQDN of the box), and a few other similar errors. However, I can start it as root.
I think mysql ought to be running with the user "mysql", which is the owner of that file above, and the directory it's in.
This is probably something really simple, and only my cluelessness is getting in the way :) -- anyone got any suggestions? They'd be much appreciated.
|