469,336 Members | 5,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

owner of mysqld_safe?

I'm running FreeBSD 4.10 stable with mysql 5.0.0-alpha.

If I type "ps auxwww | grep mysqld"

mysql 180 0.0 2.6 44220 13688 ?? S 11:53AM 0:00.11
/usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/db/mysql
--user=mysql --pid-file=/var/db/mysql/iz.pid --skip-networking

root 137 0.0 0.1 648 456 con- I+ 11:53AM 0:00.01 /bin/sh
/usr/local/bin/mysqld_safe --skip-networking --user=mysql
--datadir=/var/db/mysql --pid-file=/var/db/mysql/iz.pid

Is it ok for root to be the user/owner/starter of mysqld_safe?

Jul 20 '05 #1
1 2357
Roger Lord wrote:
Is it ok for root to be the user/owner/starter of mysqld_safe?


Yes. Daemons are often invoked by your system init script as root.
Also, it must execute mysqld as root in order for mysqld to change its
uid to 'mysql'.

Regards,
Bill
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Craig A. Falls | last post: by
1 post views Thread by Roger Lord | last post: by
1 post views Thread by Mike Mascari | last post: by
7 posts views Thread by Laurence | last post: by
7 posts views Thread by MarkJ | last post: by
2 posts views Thread by levimc | last post: by
10 posts views Thread by SimeonD | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.