Re: # of connected user

2003-02-02 Thread Stefan Hinz, iConnect \(Berlin\)
Mustafa,

 How i list connected users(active) to mysql server?

mysql SHOW PROCESSLIST;
++---+---+--+-+---+
| Id | User  | Host  | db   | Command | Time  |
++---+---+--+-+---+
|  2 | superuser | localhost | test | Sleep   | 20216 |
|  3 | superuser | localhost | test | Query   | 0 |
++---+---+--+-+---+

 it is important to know connected users for me?

Depends. If you're getting into trouble with something (too many
connections error, running short of memory etc.) knowing how many users
are connected can become important.

Regards,
--
  Stefan Hinz [EMAIL PROTECTED]
  Geschäftsführer / CEO iConnect GmbH http://iConnect.de
  Heesestr. 6, 12169 Berlin (Germany)
  Tel: +49 30 7970948-0  Fax: +49 30 7970948-3

- Original Message -
From: Mustafa Yelmer [EMAIL PROTECTED]
To: mysql group [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 12:49 PM
Subject: # of connected user


 How i list connected users(active) to mysql server?

 it is important to know connected users for me?
 Mysql runs in server-client system, and each host of clients are
different
 (i assume)


 Mustafa Yelmer
 Software Engineer
 +90 212 2128200-1228
 [EMAIL PROTECTED]


 -
 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



-
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




Re: # of connected user

2003-02-01 Thread Joseph Bueno
SHOW PROCESSLIST
Check http://www.mysql.com/doc/en/SHOW_PROCESSLIST.html for details

Hope this helps,
Joseph Bueno


Mustafa Yelmer wrote:

How i list connected users(active) to mysql server?

it is important to know connected users for me?
Mysql runs in server-client system, and each host of clients are different
(i assume)


Mustafa Yelmer
Software Engineer
+90 212 2128200-1228
[EMAIL PROTECTED]





-
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




Re: # of connected user

2003-02-01 Thread Diana Soares
Don't know if i understood your question very well, but try:
# mysqladmin proc
in command line or execute the query 
SHOW PROCESSLIST

On Fri, 2003-01-31 at 11:49, Mustafa Yelmer wrote:
 How i list connected users(active) to mysql server?
 
 it is important to know connected users for me?
 Mysql runs in server-client system, and each host of clients are different
 (i assume)

I didn't understand this...

 
 
 Mustafa Yelmer
 Software Engineer
 +90 212 2128200-1228
 [EMAIL PROTECTED]
 
-- 
Diana Soares


-
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




Re: # of connected user

2003-02-01 Thread Zak Greant
On Fri, Jan 31, 2003 at 01:49:24PM +0200, Mustafa Yelmer wrote:
 How i list connected users(active) to mysql server?
 
 it is important to know connected users for me?
 Mysql runs in server-client system, and each host of clients are different
 (i assume)

Good Day Mustafa!

  You can get a list of the various connections and connection states
  using SHOW FULL PROCESSLIST.

  See http://www.mysql.com/doc/en/SHOW_PROCESSLIST.html in the manual.


  Cheers!
-- 
 Zak Greant [EMAIL PROTECTED] | MySQL Advocate |  http://zak.fooassociates.com

MySQL Tip: Upgrading your servers to 4.0.8? Make sure to upgrade your
  clients to 4.0.8 as well! See http://mysql.com/doc/en/News-4.0.8.html

Gosh, Batman. The nobility of the almost-human porpoise.
  --Robin, the Boy Wonder

-
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




RE: # of connected user

2003-02-01 Thread Lopez David E-r9374c
Mustafa

Try this command from the client window: 

  show processlist;

You must be logged in from root to list all connections.
If you are logged in as normal user, only those connections
which you have privileges are listed.

David

 
 How i list connected users(active) to mysql server?
 

-
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




Re: # of connected user

2003-02-01 Thread Giorgos Gaganis
try using the command:

mysqladmin -v processlist

Gaganis

Mustafa Yelmer wrote:

How i list connected users(active) to mysql server?

it is important to know connected users for me?
Mysql runs in server-client system, and each host of clients are different
(i assume)


Mustafa Yelmer
Software Engineer
+90 212 2128200-1228
[EMAIL PROTECTED]


-
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








-
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