InnoDB: mmap(137363456 bytes) failed; errno 12
Oh Shit!,我哪有1G的内存去分配啊,何况还得跑猫……
于是修改my.cnf ,设置innodb_buffer_pool_size=8M
这个看说明自己配置,如果你不缺内存的话 ……
# Remove leading # and set to the amount of RAM for the most important
data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else
10%.
# innodb_buffer_pool_size = 128M
转载于:https://my.oschina.net/ydsakyclguozi/blog/911666