If you’re getting an error that reads “This version of MySQL doesn’t yet support ‘EXPLAIN ANALYZE with JSON format’” in MySQL, it’s probably because you’re trying to run EXPLAIN ANALYZE
with the wrong output format.
The EXPLAIN ANALYZE
statement only supports the TREE
output format. However, there are a few things to be aware of regarding this.
Either way, the quickest way to fix the error is to use FORMAT=TREE
in your EXPLAIN ANALYZE
statement.