This is an error associated with your MySQL installation on your local server. I see information about it here:
http://dev.mysql.com/doc/refman/5.7/en/gone-away.html
You may want to make sure MySQL is installed properly and running. Are you able to connect with phpMyAdmin?