If your wordpress is getting this error "MYSQL server has gone away", below this link is the workaround for this issue.
Solution : http://robsnotebook.com/wordpress-mysql-gone-away