By boot sequence Im guessing you mean my different run levels? rcX.d?  Im
guessing that I need to set the user value within the start-up script it
self rather than my.cnf???  I thought my.cnf was the config file that the
start-up scripts reference, by me setting a the attribute user=mysql under
[mysqld], mysql should start under the user mysql?

Thanks much,

DK

-----Original Message-----
From: Michael T. Babcock [mailto:mbabcock@;fibrespeed.net]
Sent: Tuesday, November 12, 2002 12:58 PM
To: David Kramer
Cc: '[EMAIL PROTECTED]'
Subject: Re: Why does safe_mysqld runs as root?


David Kramer wrote:

>Thats what stumps me, I guess I am, but I have changed the ownership of all
>mysql files to mysql and set the user to mysql in my my.cnf file.  By your
>comment below I guess I need to change it somewhere else?  where?
>  
>

Where is mysql being started from?  Are you familiar with your 
computer's boot sequence?  If not, don't touch it.  The my.cnf file 
doesn't change how your platform launches safe_mysqld.  Wherever your 
computer runs safe_mysqld, make sure it does it as the user you want it 
to run as.  Again, if you're unsure how to do this, consider buying 
someone's time (or a book) for how to do it.

-- 
Michael T. Babcock
C.T.O., FibreSpeed Ltd.
http://www.fibrespeed.net/~mbabcock



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to