I encountered this error on my query. I had the same query on my local computer, running without any problem but uploading it on the live site I got this error below:
The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay ….
According to some source it depends on the settings of the mysql, so my guess is my hosting provider set the limit of it, so in order to solve this on my site I followed the suggestion on the error msg.
So you can do it like this. Before executing your query execute this first
Example: mysql_query(‘SET SQL_BIG_SELECTS=1′) OR mysql_query(’set SQL_MAX_JOIN_SIZE={NUMBER}’);
I used the 1st one and it works for me!



