I have a fairly large result set(70k rows) that is a union of the same query from 4 databases that are on the same server. When I run it with a small date range and bring back maybe 10k rows, it exports to csv as expected. When I run it with a larger date range, it runs for about 6 minutes and then displays the results as html? Default output on the report is CSV.
When I run the query in mysql workbench it takes between 8 or 9 minutes to complete. I'm stumped. Have php timeout set to 10 minutes..
Any other ideas to get this to a csv output would be appreciated.
Thanks, Mark