Is there a limit on the SQL query string you can pass to MySQL for it to execute?
Hi, there is an limit of one gigabyte per Query.
MySQL Query Limit
To be more specific, 1GB is the maximum size of the query. However, the limit might be lower depending on the hosting configurations.