Fwd: Re: Applescvript, Mac OS X, Terminal, PHP and MySQL question
Fwd: Re: Applescvript, Mac OS X, Terminal, PHP and MySQL question
- Subject: Fwd: Re: Applescvript, Mac OS X, Terminal, PHP and MySQL question
- From: "Andrew M. Salamon" <email@hidden>
- Date: Sun, 12 Nov 2000 13:45:41 -0800
Check out /etc/hostconfig and also the directories under /System/Library/StartupItems. I'm not entirely sure if you can simply add a new directory to StartupItems or if you need to add it to some system file somewhere. Try copying one of the existing directories in StartupItems to a new directory in the same place called something like Databases. Then go into it and edit (vi or pico) the two files in there, changing anything that looks appropriate. Try adding your MySQL startup stuff to /System/Library/StartupItems/Databases/Databases and changing anything that looks like it needs changing in the plist. If that doesn't bring up MySQL next time you reboot, you may need to add the new directory name to a system init file somewhere.
Kinda vague, I know. But I've only rebooted my machine a couple of times since I installed OS X in September.
Andrew
email@hidden
>
On Saturday, November 11, 2000, at 02:17 PM, Jolly Roger wrote:
>
>
> on 11/11/2000 3:24 PM, Jacco Rens wrote:
>
>
>
> > I'm currently looking for a way to have MySQL starting during boottime of
>
> > OSX. As there seems no way to make this posible with an UNIX script
>
> > I'm looking into applescript here..
>
>
>
> Are you sure about that? Why can't you do it in Mac OS X (BSD Unix)? I
>
> know Linux has facilities for starting services/processes up at boot time.
>
> I would find it hard to believe that there is no support for it in BSD.
>
>
>
> JR