And here is the result:
brianoke% sudo ./bin/mysqld_safe
Starting mysqld daemon with databases from /sw/var/mysql
STOPPING server from pid file
/sw/var/mysql/Brian-OKeefes-Computer.local.pid
050317 16:14:48  mysqld ended

On Thu, 2005-03-17 at 15:53, Brian O'Keefe wrote:
> Thanks Dave,
> I don't have mysqladmin in fink so I don't know if I'll try start up w/o
> being able to shut down. Your start up script is a lot like that that
> shows up after installing mysql except the first 2 commands are in one
> line. that didn't work but maybe your method will.I appreciate your
> help.
> Anyone else have an idea?
> Brian
> On Thu, 2005-03-17 at 15:10, David Reiser wrote:
> > On Mar 17, 2005, at 2:47 PM, Brian O'Keefe wrote:
> > 
> > > Hello
> > > I downloaded and installed mysql. I'm OSX10.3.8, latest fink and all
> > > updated to latest unstable packages. I read and attempted to set up my
> > > mysql password, etc. from the install info but I can't even start the
> > > server:
> > > brianoke% mysql
> > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> > > '/tmp/mysql.sock' (2)
> > > Any help would be appreciated
> > > Thanks,
> > > Brian
> > 
> > database servers appear to be a bit different. In one of the places I 
> > was digging recently, the following worked for getting the server 
> > working:
> > 
> > If you don't use the Startup Item, enter the following command sequence:
> > shell> cd /sw
> > shell> sudo ./bin/mysqld_safe
> > (Enter your password, if necessary)
> > (Press Control-Z)
> > shell> bg
> > 
> > 
> > I used this incantation for MySQL 4.whatever installed via Fink. To 
> > stop the server (apparently OSX provides no completely safe way to shut 
> > the server down automatically on shutdown or reboot...) you need to use 
> > mysqladmin (I think that's it. Can you tell I haven't done this much?).
> > 
> > Dave
> > 
> > --
> > David Reiser
> > [EMAIL PROTECTED]



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to