Re: Debugging/monitoring traffic to MySQL
| From: | colbey at dreamwerx dot net | Date: | Fri, 19 Jul 2002 02:38:48 +0000 |
| Subject: | Re: Debugging/monitoring traffic to MySQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20650@lists.php.net to get a copy of this message | ||
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 ;)
On Fri, 19 Jul 2002, Clive Bruton 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 other terminal process?
>
> I'm running MacOS X.
>
> TIA.
>
>
> -- Clive
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>