Trond Eivind Glomsrød writes:
> Is there a clean way to administrate mysqld without a password by
> root?
> 
> I'm looking for ways to make it flush logs, reload my.cnf and shut
> down cleanly, in an automated way - i.e, no password, but by root.
> 
> (similar to pg_ctl for postgresql or  `kill -HUP` for reloading)
> 
> (e.g. shut down the server on system shutdown, and make log rotation
> and 
> 
> 
> -- 
> Trond Eivind Glomsrød
> Red Hat, Inc.
> 

kill -HUP will flush everything.

-TERM, -QUIT and -INT will shutdown a server.

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to