Date: 07/18/02
- Next message: Edward Marczak: "Re: [PHP-DB] Debugging/monitoring traffic to MySQL"
- Previous message: Miles Thompson: "Re: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in ....."
- In reply to: Clive Bruton: "[PHP-DB] Debugging/monitoring traffic to MySQL"
- Next in thread: Edward Marczak: "Re: [PHP-DB] Debugging/monitoring traffic to MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Edward Marczak: "Re: [PHP-DB] Debugging/monitoring traffic to MySQL"
- Previous message: Miles Thompson: "Re: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in ....."
- In reply to: Clive Bruton: "[PHP-DB] Debugging/monitoring traffic to MySQL"
- Next in thread: Edward Marczak: "Re: [PHP-DB] Debugging/monitoring traffic to MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

