I've created a script that reads a CSV, and inserts rows of data (w/ 20 columns each) into a database through one huge query.
The business requirements are to import ~10,000 rows at a time. A CSV of this size comes out to around 1.7 MB. When I try to do this, the page loads in about 5 seconds (server's PHP execution limit: 120), but nothing is imported. I don't get any error messages, or any other indication that things went awry.
When I break the data up into chunks of around 3,000 rows, it works fine. Anything significantly larger, and the query won't be executed.
What could be causing this? Does MySQL have a character limit for each query?