Mike,
Wednesday, March 20, 2002, 2:55:18 PM, you wrote:

MY> How would I list all users via the command line?

If you mean users in mysql privilege tables you can use the following command:
mysql -e 'SELECT user FROM mysql.user'

If you mean active user that use database you can get list of active threads by using 
command
    mysqladmin processlist
Look at:
     http://www.mysql.com/doc/m/y/mysqladmin.html

Other way is a usage of SHOW PROCESSLIST statement in the client, look at:
      http://www.mysql.com/doc/S/H/SHOW_PROCESSLIST.html





-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   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