Got a packet bigger than 'max_allowed_packet' bytes
my.cnf
max_allowed_packet =5020M
net_buffer_length=5024M;
bulk_insert_buffer_size=1256M
$mysql_i_arr .="($wdate,\"$Ins_News_db_lib->homepage_url\",$uid,1,\"\",\"$memEmail_db\",\"$m_from_name_db\",\"$m_from_email_db\",\"$title\",\"$body_tmp\",\"$send_date_db\"),";
$mysql_i_arr = substr( $mysql_i_arr,0,-1);
$sql2="insert into $Table2(wdate,domain,uid_key,ok,to_name,to_email,from_name,from_email,title,body,send_date) values $mysql_i_arr";
|