Quantcast
Channel: MySQL Forums - Performance
Viewing all articles
Browse latest Browse all 1205

Query runs fast in phpMyAdmin but slow in everything else. Makes no sense... (4 replies)

$
0
0
I have a somewhat complex select statement that I can not get to run fast in anything other than phpMyAdmin. It runs within a few seconds in phpMyAdmin but if I run it from the mySQL console or from PHP it takes almost 7 minutes.

A "show processlist" shows the query is stuck in "Sending data". Here are some screenshots of the query...

Explain select: http://natestiller.com/query/explain.jpg

Query run in phpMyAdmin: http://natestiller.com/query/phpmyadminquery.jpg

Query run from mySQL console: http://natestiller.com/query/consolequery.jpg

Show Processlist while query is being run from console: http://natestiller.com/query/showprocesslist.jpg


Any ideas? What could phpMyAdmin be doing differently than everything else?

Viewing all articles
Browse latest Browse all 1205

Latest Images

Trending Articles



Latest Images