Site icon Hip-Hop Website Design and Development

Mysql Server keeps crashing

I’m using wordpress for my site and my server is vps with memory of 2GB and SSD 40GB. My SQL Server crashes every now and then for few seconds and the website shows ‘can’t connect to the database’. I optimized the database using phpmyadmin and that made no difference. I also tried to look into the wp_options table and found the around 360 options are auto loaded which I think isn’t too much. I am using query monitor wordpress plugin to check the queries but i can’t find any such queries that could cause the server to crash. So what should I do so that I can solve this issue.