views:

177

answers:

1

I've been using the same DB abstraction library for years. But today it started writing these Notice (8) messages in my log.

The application is working correctly but every time a script connects to the DB the same notice is logged.

I cannot think what might have changed. This is happening on my local dev machine.

OS X 10.6.2
PHP 5.3.0 (cli) 
mysql Ver 14.12 Distrib 5.0.87
mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
+2  A: 

If you really want to investigate the matter take a look at http://blog.ulf-wendel.de/?p=159
It explains how you can create trace files for the mysqlnd activites.

VolkerK
Thank you, Volker. I've bookmarked the link. It looks interesting.I think the apache/mod_php had got itself in some ungood state since the issue cleared when i restarted apache. If it returns I'll try the tracer. But the issues seems to be very rare since there's not a single mention of it I could find with google.
fsb
The bug returned and wouldn't clear with restarting apache. So I enabled mysqlnd_debug and now the bug has gone again. Not easy to track down.
fsb