Are you sure about mysqladmin? It was installed as part of the MySQL 4.1.7-11 fink package for me. Take a look in /sw/bin there should be a whole slew of mysqlxxx files there, one of them mysqladmin.
Dave
On Mar 17, 2005, at 5:53 PM, 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