[Fink-users] 'mysql.server stop' problems

2003-01-21 Thread Bruce Tomlin
When I do...

/sw/share/mysql/mysql.server stop

it is unable to kill the process.  Doing some googling, I was able to 
find one reference that this may indicate a problem with the threads 
library.  That's all I really know about it.  (And yes, I know about 
mysqladmin shutdown.)

Also, when I do this, the "Wait for mysqld to exit" message has a bunch 
of "\c" (backslash followed by the letter C) in it.  It looks like this 
was meant to be a way to tell echo not to do a newline.  Perhaps this 
should be changed to 'echo -n' instead?  (FWIW, I'm using bash for my 
shell.)

This is with mysql package version 3.23.54a-2 from stable.



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Re: Fink-users digest, Vol 1 #1381 - 12 msgs

2003-01-22 Thread Bruce Tomlin

On Wednesday, January 22, 2003, at 12:09  PM, Christian Schaffner wrote:


How did you start it? With
sudo safe_mysqld --user=mysql


I created a StartupItem to start it with '/sw/share/mysql/mysql.server 
start', which runs safe_mysqld.

Same results if I do it your way (after remembering to add the '&' so 
that it doesn't lock my terminal.)

When I do...

/sw/share/mysql/mysql.server stop

it is unable to kill the process.  Doing some googling, I was able to
find one reference that this may indicate a problem with the threads
library.  That's all I really know about it.  (And yes, I know about
mysqladmin shutdown.)


So, why don't you use
sudo mysqladmin shutdown


Because that requires a password and can't go in a shutdown script 
unless I either put the cleartext password in a script or have a null 
password for the root user.  (And yes, I know that StartupItems don't 
do shutdown yet.  I'm trying to be ready for when they do.)



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users