Hi again.
The original point of this bug is that initscript have code for killing
MySQL but this code is disabled in rather strange way (by putting
log_end_msg 1, see the first post). I think this code should be disabled
in more obvioius way or removed at all.
--
Strange or obsolete code in mysq
** Changed in: mysql-dfsg-5.0 (Ubuntu)
Assignee: (unassigned) => Patch for MySQL team (mysql-patch-team)
--
Strange or obsolete code in mysql initscript
https://bugs.launchpad.net/bugs/359177
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscrib
Hi Alexey,
true, killing all mysqld-procs isn't the best choice, however i tried
to stick to the original initscript which also killed the processes
after some time. Its no problem to change this behaviour if wanted, only
the 'kill -9' and 'log_msg' lines have to be altered. Who is up to
decide/i
Hi, David.
I think it's a bad idea to kill MySQL with -9 signal.
It's o.k. for MySQL instances with big key_buffer_size to stop within several
minutes.
IMHO, it's better just to print that MySQL can't be stopped ant let user to
decide what to do with it.
--
Strange or obsolete code in mysql in
Patch for the mysql init script attached. Reworked the 'stop'-section
some more, removed unused / old variables etc...
br,
David
** Attachment added: "Patch for the mysql-server-5.0 init script."
http://launchpadlibrarian.net/35750472/mysql.patch
--
Strange or obsolete code in mysql initscri
If you can submit this as a patch that would be great.
Thanks
chuck
--
Strange or obsolete code in mysql initscript
https://bugs.launchpad.net/bugs/359177
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
--
Ubunt
I also have problems with this initscript (mostly with wrong return
codes in scripted shutdowns), however i think that the author overlooked
an 'else' statement:
@142ff: instead of:
142 if [ "$r" -ne 0 ]; then
143 log_end_msg 1
144 [ "$VERBOSE" != "no" ] && log_fa
** Changed in: mysql-dfsg-5.0 (Ubuntu)
Importance: Undecided => Low
--
Strange or obsolete code in mysql initscript
https://bugs.launchpad.net/bugs/359177
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
--
Ub
I believe I can confirm this. Unless I'm thinking entirely wrong there
is no way that code after "log_end_msg 1" will be executed.
** Changed in: mysql-dfsg-5.0 (Ubuntu)
Status: New => Confirmed
--
Strange or obsolete code in mysql initscript
https://bugs.launchpad.net/bugs/359177
You rec