FORCE INDEX in MySQL – where do I put it?

The syntax for index hints is documented here: http://dev.mysql.com/doc/refman/5.6/en/index-hints.html FORCE INDEX goes right after the table reference: SELECT * FROM ( SELECT owner_id, product_id, start_time, price, currency, name, closed, active, approved, deleted, creation_in_progress FROM db_products FORCE INDEX (products_start_time) ORDER BY start_time DESC ) as resultstable WHERE resultstable.closed = 0 AND resultstable.active = 1 AND resultstable.approved … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)