[PHP-DB] Debugging/monitoring traffic to MySQL

2002-07-18 Thread Clive Bruton
Is there a way to see the traffic between PHP and MySQL, ie see the statements/raw data that is sent between the two processes. I've tried running the MYSQL client, but there doesn't seem to be any obvious command to do this. Some other terminal process? I'm running MacOS X. TIA. -- Clive

Re: [PHP-DB] Debugging/monitoring traffic to MySQL

2002-07-18 Thread colbey
On the MySQL server (could be the same machine) start mysql with -l arguement. Which enables connection and query logging.. YOu can just sit there and tail -f the server.log file to see all the querys/connections being executed in realtime... good look reading anything on a busy server ;)

Re: [PHP-DB] Debugging/monitoring traffic to MySQL

2002-07-18 Thread Edward Marczak
On 7/18/02 8:30 PM, Clive Bruton [EMAIL PROTECTED] wrote: Is there a way to see the traffic between PHP and MySQL, ie see the statements/raw data that is sent between the two processes. I've tried running the MYSQL client, but there doesn't seem to be any obvious command to do this. Some