I am using Drupal 7 and i am getting
MySQL server has gone away error in my current site.
By doing Google i figured out that i need to increase some of the parameters of my.ini file
key_buffer max_allowed_packet table_cache sort_buffer_size
Is there any way that I can write this in Drupals settings.php?