mysql1033错误存储引擎_MySQL Innodb存储引擎因为缓存配置出现的错误
引用
100920 10:50:21 mysqld_safe Starting mysqld daemon with databases from /byread/data
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: mmap(11010048000 bytes) failed; errno 12
InnoDB: Fatal error: cannot allocate the memory for the buffer pool
100920 10:50:21 [ERROR] Plugin 'InnoDB' init function returned error.
100920 10:50:21 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
100920 10:50:21 [Warning] 'user' entry 'root@test3' ignored in --skip-name-resolve mode.
100920 10:50:21 [Warning] 'user' entry '@test3' ignored in --skip-name-resolve mode.
100920 10:50:21 [Note] Event Scheduler: Loaded 0 events
100920 10:50:21 [Note] /byread/bin/mysql/libexec/mysqld: ready for connections.
Version: '5.1.45-log'? socket: '/byread/bin/mysql/tmp/mysql.sock'? port: 3306? MySQL Community Server (GPL)
100920 10:50:50 [Note] /byread/bin/mysql/libexec/mysqld: Normal shutdown
100920 10:50:50 [Note] Event Scheduler: Purging the queue. 0 events
100920 10:50:52 [Note] /byread/bin/mysql/libexec/mysqld: Shutdown complete
100920 10:50:52 mysqld_safe mysqld from pid file /byread/data/cas.pid ended
出現這種情況,因為大意沒有察看日志,所以當建表的時候,mysql會使用存儲引擎MyISAM來建表,而不進行提示。
一開始出現問題小郁悶了一下,執行以下命令發現沒有InnoDB時才發現問題。
引用
mysql> show engines;
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| Engine???? | Support | Comment??????????????????????????????????????????????????? | Transactions | XA?? | Savepoints |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| MRG_MYISAM | YES???? | Collection of identical MyISAM tables????????????????????? | NO?????????? | NO?? | NO???????? |
| CSV??????? | YES???? | CSV storage engine???????????????????????????????????????? | NO?????????? | NO?? | NO???????? |
| MyISAM???? | DEFAULT | Default engine as of MySQL 3.23 with great performance???? | NO?????????? | NO?? | NO???????? |
| InnoDB???? | YES???? | Supports transactions, row-level locking, and foreign keys | YES????????? | YES? | YES??????? |
| MEMORY???? | YES???? | Hash based, stored in memory, useful for temporary tables? | NO?????????? | NO?? | NO???????? |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
5 rows in set (0.00 sec)
分享到:
2010-09-20 10:51
瀏覽 5889
分類:數據庫
評論
1 樓
langren
2012-10-11
能分享一下這個問題是怎么解決的嗎?
總結
以上是生活随笔為你收集整理的mysql1033错误存储引擎_MySQL Innodb存储引擎因为缓存配置出现的错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PHP ajax 传递中文乱码,ajax
- 下一篇: opensip db mysql_ope