Skip to content

Instantly share code, notes, and snippets.

@vaibhav9392
Created October 4, 2015 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaibhav9392/534ca5c1efa33c5d1bd2 to your computer and use it in GitHub Desktop.
Save vaibhav9392/534ca5c1efa33c5d1bd2 to your computer and use it in GitHub Desktop.
Fix: Auto-stopping of mysql service on AWS micro instance
/* Error reason:
InnoDB: Fatal error: cannot allocate memory for the buffer pool */
/* Solution: Change below value in my.cnf file */
/*File Location:
CentOS: /etc/my.cnf
Ubuntu: /etc/mysql/my.cnf*/
[mysqld]
innodb_buffer_pool_size = 10M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment