dbTalk Databases Forums  

how see connected user?

comp.databases.mysql comp.databases.mysql


Discuss how see connected user? in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
_mario.lat
 
Posts: n/a

Default how see connected user? - 09-27-2006 , 03:09 PM






Hallo,
Some times my Db crash or say to many connections.
I'd like to see who cause that.
How can I see who is connected to mysql?
Thank you in advance for the time you'll spend for answering me.
Mario.

P.S. Any other suggestion is welcame!

Reply With Quote
  #2  
Old   
Axel Schwenke
 
Posts: n/a

Default Re: how see connected user? - 09-27-2006 , 05:44 PM






"_mario.lat" <_mario.lat (AT) libero (DOT) it> wrote:

Quote:
Some times my Db crash or say to many connections.
I'd like to see who cause that.
How can I see who is connected to mysql?
As long as MySQL is up and you can log into it [1] you can use the
SHOW [FULL] PROCESSLIST command to see all open connections.

http://dev.mysql.com/doc/refman/5.0/...ocesslist.html


[1] MySQL reserves one connection for the superuser. So make sure
your application connects as non-superuser. Then you can connect
even if the database emits "too many connection" errors.

XL
--
Axel Schwenke, Senior Software Developer, MySQL AB

Online User Manual: http://dev.mysql.com/doc/refman/5.0/en/
MySQL User Forums: http://forums.mysql.com/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.