131227 9:09:22 InnoDB: Fatal error: cannot allocate memory for the buffer pool
free -mWhat does that command output?
Just installed the LAMP stack on Ubuntu 14 and having the same problem, MySQL don't restart, same error.. after some googling it worked for me:
service mysql stop service mysql start
This worked for me :)
The easiest process is to log on to PUTTY and run the code
"sudo service mysql restart" without inverted commas
But what if we were already using innodb as the storage? Changing it to myisam as you suggested works but my wordpress installation is lost and I have to reinstall from scratch. Obviously, not a good thing.
I'm using mysql 5.5 and after some recent Debian updates, I'm getting the same error as mooalguide.