• Resolved elrico13

    (@elrico13)


    Hi,

    I’m trying to determine the exact set of queries that gets executed when certain actions are undertaken, e.g. adding a user to the database.

    The plugin captures SELECT queries but not UPDATE or INSERT actions.

    Multisite is in use, in case that affects things.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Are you trying to view these queries on the page after a redirect has been performed? For example the default behaviour for most WordPress administration area screens is to perform an action (such as adding a user to the database) and then redirect to a confirmation screen.

    In this case, you won’t see the INSERT query because a redirect happens after the query.

    This is something I’m working on supporting in QM but there’s no ETA just yet.

    Thread Starter elrico13

    (@elrico13)

    OK in that case, that explains what’s happening, and thanks for the quick reply – looking forward to the feature, whenever it arrives.

    Do you know of any way to see a full trail of these queries, other than by enabling the MySQL general query log? That’s not an option for me unfortunately as I’m using shared hosting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Query Monitor not logging UPDATE or INSERT’ is closed to new replies.