Re: Logging connections

2001-08-08 Thread Arjen G. Lentz
- Original Message - From: "Tadej Guzej" <[EMAIL PROTECTED]> > How would I log connections to MySQL server? > I need the time user connects and the time user disconnects. It's a workaround, but the general MySQL log actually has this information. Here's a sample: /usr/sbin/mysqld,

Re: Logging connections

2001-08-08 Thread Tadej Guzej
uot;Werner Stuerenburg" <[EMAIL PROTECTED]> To: "Tadej Guzej" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 9:35 PM Subject: Re: Logging connections > You have timestamp fields in your table. When the user connects, > you inse

Re: Logging connections

2001-08-07 Thread Werner Stuerenburg
You have timestamp fields in your table. When the user connects, you insert a row. The first timestamp field is set to the entry time automatically, you just record the user. When he disconnects, you update the second timestamp with the disconnect time. You can later compute the difference. I wo

Logging connections

2001-08-07 Thread Tadej Guzej
How would I log connections to MySQL server? I need the time user connects and the time user disconnects. Thanks, Tadej - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.co

Logging connections and "show processlist"

2001-04-06 Thread Gary Huntress
et a recordset displayed. Am I missing something in the documentation (which I have read!) that treats the "show processlist" differently? All I'm really interested in is logging connections. I was trying to avoid starting mysqld with --log, because I'm not interested in log