CodeIgniter Forums
I need to track mysql error query - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: I need to track mysql error query (/thread-33193.html)



I need to track mysql error query - El Forum - 08-18-2010

[eluser]Unknown[/eluser]
Hi,
I need to track Mysql error query from codeignitor and how to db error log through this framework


I need to track mysql error query - El Forum - 08-18-2010

[eluser]Clooner[/eluser]
See the Error Logging Threshold in the config file!


I need to track mysql error query - El Forum - 08-18-2010

[eluser]danmontgomery[/eluser]
You can also enable the profiler to see all queries run on that page:

Code:
$this->output->enable_profiler();