php-debugbar
php-debugbar copied to clipboard
Show info of MySQL query
My phpDebugbar not show detail info like demo. Does it normal when only show the time of query?
Which collector are you running? DebugBar\DataCollector\PDO\PDOCollector
?
Not every collector does the same thing, for example, my Laravel debugbar doesn't show all this information because it uses the Laravel query logger instead of the PDO connection directly.
Yes, here is my code:
I tested, if I used mysql prepared statements (not direct query), phpdebugbar could show me a number of rows, but it did not show the memory.
Hello, I have a legacy project that uses Kohana v2 and would like to know how can I log the SQL? Could help? Thanks