先看一下mysql log
vi /var/log/mysql/error.log
看到下面這一段 mysql被關掉了><
151025 15:26:21 [Warning] Using unique option prefix myisam-recover instead of
myisam-recover-options is deprecated and will be removed in a future release.
Please use the full name instead.
151025 15:26:21 [Note] Plugin ‘FEDERATED’ is disabled.
151025 15:26:21 InnoDB: The InnoDB memory heap is disabled
151025 15:26:21 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151025 15:26:21 InnoDB: Compressed tables use zlib 1.2.8
151025 15:26:21 InnoDB: Using Linux native AIO
151025 15:26:21 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap
(137363456 bytes) failed; errno 12
151025 15:26:21 InnoDB: Completed initialization of buffer pool
151025 15:26:21 InnoDB: Fatal error: cannot allocate memory for the buffer pool
151025 15:26:21 [ERROR] Plugin ‘InnoDB’ init function returned error.
151025 15:26:21 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
151025 15:26:21 [ERROR] Unknown/unsupported storage engine: InnoDB
151025 15:26:21 [ERROR] Aborting
151025 15:26:21 [Note] /usr/sbin/mysqld: Shutdown complete
上網爬解法:
vi /etc/mysql/my.cnf
將原 51行註解掉 key_buffer = 16M
新增這一行 key_buffer_size =16M
將原 57行註解掉 myisam-recover = BACKUP
新增這一行 myisam-recover-options = BACKUP
存檔離開 重新啟動 mysql
指令 service mysql restart
[ MYSQL ] Error Messge:Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release
評等結果
點擊便能為這篇文章進行評等!
[評等總次數: 0,平均評等: 0]
評等結果
點擊便能為這篇文章進行評等!
[評等總次數: 0,平均評等: 0]
現貨超低價 小新玩偶 蠟筆小新 動感新生活係列 潮玩 小新公仔
義美e家小館-素食炒飯270g/包
維力 素飄香 野菜多 素排骨雞 素紅燒牛肉 麻辣燙 麻油當歸枸杞 蔘湯麵 素食 泡麵 單包
我最牛-綜合牛角酥餅乾