国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

MySQL啟動時InnoDB引擎被禁用了的解決方法

2024-07-24 13:14:10
字體:
來源:轉載
供稿:網友

發現問題

今天在工作中,從本地數據庫復制表數據到虛擬機 CentOS 6.6 上的數據庫時,得到提示:

Unknown table engine 'InnoDB'

于是在服務器 MySQL 中查看了引擎:

mysql/1437.html">mysql> show engines/G

得到:

*************************** 1. row ***************************  Engine: MyISAM  Support: DEFAULT  Comment: MyISAM storage engineTransactions: NO   XA: NO Savepoints: NO*************************** 2. row ***************************  Engine: CSV  Support: YES  Comment: CSV storage engineTransactions: NO   XA: NO Savepoints: NO*************************** 3. row ***************************  Engine: MEMORY  Support: YES  Comment: Hash based, stored in memory, useful for temporary tablesTransactions: NO   XA: NO Savepoints: NO*************************** 4. row ***************************  Engine: BLACKHOLE  Support: YES  Comment: /dev/null storage engine (anything you write to it disappears)Transactions: NO   XA: NO Savepoints: NO*************************** 5. row ***************************  Engine: MRG_MYISAM  Support: YES  Comment: Collection of identical MyISAM tablesTransactions: NO   XA: NO Savepoints: NO*************************** 6. row ***************************  Engine: PERFORMANCE_SCHEMA  Support: YES  Comment: Performance SchemaTransactions: NO   XA: NO Savepoints: NO*************************** 7. row ***************************  Engine: ARCHIVE  Support: YES  Comment: Archive storage engineTransactions: NO   XA: NO Savepoints: NO*************************** 8. row ***************************  Engine: FEDERATED  Support: NO  Comment: Federated MySQL storage engineTransactions: NULL   XA: NULL Savepoints: NULL*************************** 9. row ***************************  Engine: InnoDB  Support: NO  Comment: Supports transactions, row-level locking, and foreign keysTransactions: NULL   XA: NULL Savepoints: NULLrows in set (0.00 sec)

在 InnoDB 的 Supports 為 NO

解決方法

編輯 my.cnf

[root@localhost mysql]# vim /etc/my.cnf

把其中 innodb = OFF 改為 innodb = ON

同時把 skip-innodb 注釋掉即可。

總結

以上就是這篇文章的全部內容了,希望本文的內容對大家的學習或者工作能帶來一定的幫助,如果有疑問大家可以留言交流,謝謝大家對VeVb武林網的支持。


注:相關教程知識閱讀請移步到MYSQL教程頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 潞城市| 静海县| 萝北县| 惠安县| 西吉县| 太原市| 舒兰市| 黄冈市| 栾城县| 图们市| 河东区| 镇江市| 汤阴县| 商水县| 麻城市| 铁力市| 福建省| 色达县| 昌图县| 卓尼县| 会泽县| 苏州市| 武清区| 昭通市| 城步| 云霄县| 漳州市| 江城| 大安市| 繁昌县| 庆元县| 确山县| 洪泽县| 临泽县| 岑巩县| 湖北省| 海南省| 油尖旺区| 蒙山县| 天峻县| 马边|