When i import a video or use bulk youtube import , i find this error in cron.php

cronjob started
Download Finished
File Name: /home/youchahe/public_html/video/33ec641072b47b5c2f1ea598b5c7246a.flv
File Size: 26383921ERROR: Unable to execute query
UPDATE `process_queue` SET
status='2' , file ='33ec641072b47b5c2f1ea598b5c7246a.flv' WHERE `id`=16
MySQL server has gone away



i used your tip in http://forums.buyscripts.in/installa...html#post12727
$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es";


but nothing happens, still the same problem.
I'm using a video shared hosting.

In order to bypass this problem i usually update manually the database and continue the job. is there any "automatic" way.
thank you in advance