The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Any MySQL gurus here? by andrej 2002-09-29 18:48:13
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.
[ Reply ]
  Depends on distro by whitenite2006-11-19 12:23:33
    mysqld -u <user> ... (man mysqld) (n/t) by tms17912002-09-29 19:23:41
  Check for --user by spoon2002-09-29 22:59:10
    Thanks! by andrej2002-09-30 03:55:05

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)