I have set up a micro instance server on amazon EC2.
mysql server fails frequently and due to which I get 'error establishing a database connection' whenever I access my website. To make my website work again, I have to restart mysqld. Here is the error log. Please click the link as i just opened the account on stackoverflow.
I read through other threads here for the same kind of error and accordingly I added a swapfile of 3G but I am still getting the same memory allocation error. Here is my swapfile.
I am not a technical person so please help me figure out how to solve this problem.