Re: [PHP-DB] Debugging/monitoring traffic to MySQL From: Edward Marczak (marczak <email protected>)
Date: 07/18/02

On 7/18/02 8:30 PM, "Clive Bruton" <clive <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 other terminal process?
>
> I'm running MacOS X.

If you fire up mysql with the --log option, you can tail the log and watch
everything that's going on in your database. Otherwise, if you want to make
life difficult, do a packet trace.

-- 
Ed Marczak
marczak <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php