]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- TODO will be never done
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 9 Jul 2005 23:52:06 +0000 (23:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.init -> 1.84

mysql.init

index 014cf7c8e2390053d0892553b471583aef179815..b1384316971198644a970006b2dfdd6c00c04876 100644 (file)
@@ -215,12 +215,8 @@ mysqlstop() {
        msg_stopping "MySQL $clusterdir"
        busy
 
-# TODO
-#  graceful mysql shutdown with mysqladmin shutdown requires 'shutdown'
-#  privilege. create new user mysqlctl or rename mysql_logrotate to mysqlctl
-#  and give it both privs (flush-logs and shutdown)?
-
        # try graceful shutdown -- send shutdown command
+       # requires mysql_logrotate user proper privs
        /usr/bin/mysqladmin --defaults-file=$MYSQL_CONFIG ${MYSQL_SOCKET:+--socket=$MYSQL_SOCKET} shutdown >/dev/null 2>&1
        mysqlstatus "$clusterdir"
 
This page took 0.058334 seconds and 4 git commands to generate.