Solve : MySQL server has gone away : while importing a schema

In order to prevent the Error "MySQL server has gone away" follow this process

1. Get into the server through ssh

2. Modify the file my.cnf, add this line

max_allowed_packet=64M

3. Restart the MySQL service