We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Log Every Mysql Query in Dev Mode

Development and Programming

blendimc's avatar
blendimc
150 posts
14 years ago
blendimc's avatar blendimc

I have an idea for helping with DB Deployment and Migration. What I need to do is log every mysql statement that is run on the dev server from EE. Now EE is passing this all through its self and its showing them when you turn output and debugging on so it has some sort of way of logging them. Does anyone know where I would begin in extending the core to save every query into a DB?

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
14 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

I’ve thought about this in the past and never found an actually solution within the core of EE. I had a chat with someone (way smarter than me) a little while back who said you could log queries at the database level (as opposed to the application level) but I never dug deeper.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.