Title: Print latest executed query
Last modified: August 19, 2016

---

# Print latest executed query

 *  [sujan](https://wordpress.org/support/users/sujan/)
 * (@sujan)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/print-latest-executed-query/)
 * Hi!
 * Can anyone tell me how can we print/display the latest executed query(mysql query)
   in wordpress?? Do we have any method/functions??
 * I once see that in some blog but I forget that method and blog where I see that:(.
   So, can anyone help me through this, giving an example as well.
 * Thanks

The topic ‘Print latest executed query’ is closed to new replies.

## Tags

 * [query](https://wordpress.org/support/topic-tag/query/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [sujan](https://wordpress.org/support/users/sujan/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/print-latest-executed-query/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
