MARIADB - Error while sending QUERY packet (not max_allowed_packet)
1 minute after asking it, I've answered my own question. This was the issue:
wait_timeout=10
My previous hosting configuration had =180 which make my poorly written script work. Under the =10 it's just not long enough for the task to complete. I have lengthened it to 180 now but should really add handle for this.
Error while sending QUERY packet. PID=9565
thanks every one . Problem was solved the issue is one of my developer making wrong recursive function that's why more memory allocated
MySQL: Error while sending QUERY packet. PID=2
When you use a pattern like
prepare mysql query a
execute mysql query a
for each row in result set a
prepare mysql query b
execute mysql quer b
you must use a separate db connection for mysql query b. Why? query a can still be using its connection as long as you're reading rows from its result set.
Related Topics
How to Get Only Images Using Scandir in PHP
Add a Prefix to Each Item of a PHP Array
PHP - Remove <Img> Tag from String
How to Use Regexiterator in PHP
How to Change/Custom Password Field Name for Laravel 4 and Laravel 5 User Authentication
Laravel Orderby Relationship Count
Bounce Email Handling with PHP
Expected Response Code 220 But Got Code "", with Message "" in Laravel
How to Get PHP to Produce a Backtrace Upon Errors
Php: Possible to Automatically Get All Posted Data
Determining What Classes Are Defined in a PHP Class File
Laravel Mail::Send() Sending to Multiple to or Bcc Addresses