just updated mysql from 5.1.56 to 5.1.61, and STILL have this problem...
I can't even STOP mysql - with the included init script, all I get is:
myhost : Sun Feb 05, 13:55:53 : ~
# /etc/init.d/mysql stop
* WARNING: mysql is already stopped
Well, it *isn't* stopped, it is running, but it is apparently still the
old version (but the mysqladmin command apparently is from the new version):
myhost : Sun Feb 05, 14:05:05 : ~
# mysqladmin -u root -p version
Enter password:
mysqladmin Ver 8.42 Distrib 5.1.61, for pc-linux-gnu on x86_64
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Server version 5.1.56-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysqld/mysqld.sock
Uptime: 25 days 7 hours 45 min 17 sec
Threads: 4 Questions: 708143 Slow queries: 0 Opens: 139 Flush
tables: 1 Open tables: 57 Queries per second avg: 0.323
myhost : Sun Feb 05, 14:05:20 : ~
#
Also... shouldn't the init script be for mysqld, not mysql??
Also, why is there no entry for mysql in rc-update? It starts up just
fine when booting.
I'm totally stumped...
On 2012-01-15 12:26 PM, Tanstaafl <tansta...@libertytrek.org> wrote:
Anyone else having this problem?
Yes, I did etc-update, and simply accepted the new conf.d config file
and init.d script changes...
After the update, I attempted to restart mysql but got:
myhost : Sun Jan 15, 12:23:47 : ~
# /etc/init.d/mysql restart
* Starting mysql ...
* start-stop-daemon: /usr/sbin/mysqld is already running [ !! ]
* ERROR: mysql failed to start
myhost : Sun Jan 15, 12:23:55 : ~
and in the log:
Jan 15 12:23:55 myhost /etc/init.d/mysql[16429]: start-stop-daemon:
/usr/sbin/mysqld is already running
Jan 15 12:23:55 myhost /etc/init.d/mysql[16396]: ERROR: mysql failed to
start