MySQL Server is Restarting automatically after some minutes
I suspect your max_allowed_packet and the presence of a large TEXT/BLOB field.

I answered two questions in the past that involved mysql crashing because of the max_allowed_packet being too small.


MySQL server has gone away obstructing import of large dumps
InnoDB table SELECT returns ERROR 2006 (HY000): MySQL server has gone away (after power outage)


I recommend raising your max_allowed_packet to the max value, which is 1GB

If you have TEXT/BLOB fields, you may have entered a TEXT/BLOB field that is too big to pass through a MySQL Packet or through the InnoDB Log Files. You may need to resize your innodb log files to the max value, which is 2047M. Here is what to do:

STEP 01) Add this to /etc/my.cnf

[mysqld]
max_allowed_packet=1G
innodb_log_file_size=2047M


NOTE: In Google Cloud, you can't enter 1G, you must use the value 1073741824

STEP 02) service mysql stop

STEP 03) rm -f /var/lib/mysql/ib_logfile[01]

STEP 04) service mysql start