I am using PHP and MySQL. In my program there is a select query involving joins. When I run it on localhost it\'s working fine but when I upload it on my server and try to e
Try running as a query previous executing your select:
SET SQL_BIG_SELECTS=1
Is this really executing over a huge dataset? If not this should be solved in a different way.