You guessed right MySQL have limitation for size of data, you need to break your query in small group of records or you can Change your max_allowed_packet by using SET GLOBAL max_allowed_packet=524288000;
More Related Contents:
- Query database then email posts from where user is subbed to
- Laravel – only a zero is saved to the database
- storing user_id in session variable
- I am seeing this error on submitting form Error: query was empty [closed]
- Reference: What is a perfect code sample using the MySQL extension? [closed]
- Convert from MySQL datetime to another format with PHP
- Correct way to use LIKE ‘%{$var}%’ with prepared statements?
- Passing an array to a query using a WHERE clause
- Whether to use “SET NAMES”
- Escaping single quote in PHP when inserting into MySQL [duplicate]
- PHP/MySQL Insert null values
- How can I get enum possible values in a MySQL database?
- Mechanisms for tracking DB schema changes [closed]
- Inserting data using mysqli
- Import file size limit in PHPMyAdmin
- PDO Connection Test
- Php : Convert a blob into an image file
- Detect mysql update/insertion failure due to violated unique constraint
- PHP + MySql + Stored Procedures, how do I get access an “out” value?
- How do I construct a cross database query in PHP?
- How to bind SQL variables in PHP?
- Having issue with matching rows in the database
- PHP – Secure member-only pages with a login system
- MySQL ORDER BY IN()
- mysql – INSERT date range into date columns IF dates don’t overlap with existing ones
- PHP mySQL – Insert new record into table with auto-increment on primary key
- How does {} affect a MySQL Query in PHP? [duplicate]
- When should I close a database connection in PHP?
- php connection pooling mysql [duplicate]
- Limit pagination page number