This is driving me mad.
If I run a particular (very simple) query on a customers server phpMyAdmin seems to go mad taking all resources until the server crashes. I've tested in my own dev environment first (of course) and it seems to work just fine .. I think my dev environment is strict enough (or is it?)
Server version: 5.0.51a-community-nt
sql mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
The query is ..
SELECT o.date_purchased, MONTH( o.date_purchased ) AS month , YEAR( o.date_purchased ) AS year,
op.products_price, op.final_price, op.products_cost, op.products_quantity AS quantity,
opa.products_options_values AS manufacturers_name
FROM orders o, orders_products op, orders_products_attributes opa
WHERE o.orders_id = op.orders_id
AND YEAR(o.date_purchased) = '2008'
AND op.products_id = '4157'
AND opa.orders_products_id = op.orders_products_id
AND (opa.products_options = 'Manufacturer' OR opa.products_options = 'Producent')
Anything obvious here that I'm not seeing please?
Oh best mention that all tables and fields are correct and the query never returns a result phpMyAdmin freezes.