Re: How to start mysql at boot time?
blixel_at_gmail.com
Date: 06/15/05
- Next message: John McGrail: "Re: tar: Link name too long for ustar"
- Previous message: blixel_at_gmail.com: "tar: Link name too long for ustar"
- In reply to: André Gulliksen: "Re: How to start mysql at boot time?"
- Next in thread: John McGrail: "Re: How to start mysql at boot time?"
- Reply: John McGrail: "Re: How to start mysql at boot time?"
- Reply: Shane Almeida: "Re: How to start mysql at boot time?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jun 2005 07:10:52 -0700
Thanks. That seems to work - though I don't entirely understand it.
I understand that the first line is checking to make sure mysql.server
is executable and checking to make sure that mysql=YES in
/etc/rc.conf.local ... but how does it "know" what the value of mysql
is? The /etc/rc.local script doesn't seem to import /etc/rc.conf.local
... I can only assume the values are read into memory during the boot
process and are stored globally until the boot process is finished?
The second line is also unfamiliar to me. It looks like it's running
the script to start the mysql server and passing the user mysqld to the
script so that the script will run as that user. However, I don't have
a mysqld user in my /etc/passwd. There IS a _mysql user in
/etc/passwd. And when I run "ps aux | grep mysql", I can see that the
mysql server is running as _mysql (not as mysqld) - weird. I guess
echo -n " mysqld" is a parameter other than the user to run as.
- Next message: John McGrail: "Re: tar: Link name too long for ustar"
- Previous message: blixel_at_gmail.com: "tar: Link name too long for ustar"
- In reply to: André Gulliksen: "Re: How to start mysql at boot time?"
- Next in thread: John McGrail: "Re: How to start mysql at boot time?"
- Reply: John McGrail: "Re: How to start mysql at boot time?"
- Reply: Shane Almeida: "Re: How to start mysql at boot time?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|