profiling - MySQL Profiler - No entries in show profile -


i using mysql profiler diagnosis of mysql issues investigating. when issue show profiles command not results.

this how using it:

set profiling=1 --enable profiling  -- run selects / inserts etc select count(*) mytable insert mytable (mydata) values ('wibble')  show profiles 

i expecting show profiles command give me profile data selects etc performed after enabling profiling (per information from mysql dev page), empty resultset. not see errors when enabling/disabling profiling nor see errors when attempting view profiles.

the following may or may not relevant:

  1. the commands issued via phpmyadmin
  2. i running mysql 5.0.77
  3. select * information_schema.profiling returns no results

tested, works.

you can phpmyadmin if can use transaction (depending on storage engines?)

try this:

start transaction;  set profiling=1; --enable profiling  -- run selects / inserts etc select count(*) mytable; insert mytable (mydata) values ('wibble');  show profiles;  commit; --or rollback 

please note i've added semicolon after each query!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -