Re: DB troubleshooting with PDO

From: Date: Sat, 18 Mar 2006 06:41:55 +0000
Subject: Re: DB troubleshooting with PDO
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3620@lists.php.net to get a copy of this message
Mysql has a query log where it writes all the sql statements recieved, you will probably have to enable it. I suspect that this would be easier than adding hooks in PHP. David Richard Thomas wrote: > Is it possible to somehow pull the final string submitted to mysql when > you do a prepare/execute? > > What I would like to do is log all the querys in debug mode for > troubleshooting and be able to review them afterwards. >

« previous php.pecl.dev (#3620) next »