Mysql实例MySQL启动时InnoDB引擎被禁用了的解决方法

Mysql实例MySQL启动时InnoDB引擎被禁用了的解决方法,第1张

概述介绍《Mysql实例MySQL启动时InnoDB引擎禁用了的解决方法》开发教程,希望对您有用。

《MysqL实例MysqL启动时InnoDB引擎被禁用了的解决方法》要点:
本文介绍了MysqL实例MysqL启动时InnoDB引擎被禁用了的解决方法,希望对您有用。如果有疑问,可以联系我们。

MysqL实例发现问题

MysqL实例今天在工作中,从本地数据库复制表数据到虚拟机 CentOS 6.6 上的数据库时,得到提示:

MysqL实例UnkNown table engine 'InnoDB'

MysqL实例于是在服务器 MysqL 中查看了引擎:

MysqL实例MysqL> show engines\G

MysqL实例得到:

MysqL实例*************************** 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)

MysqL实例在 InnoDB 的 Supports 为 NO

MysqL实例解决方法

MysqL实例编辑 my.cnf

MysqL实例[root@localhost MysqL]# vim /etc/my.cnf

MysqL实例把其中 innodb = OFF 改为 innodb = ON

MysqL实例同时把 skip-innodb 注释掉即可.

MysqL实例总结

MysqL实例以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作能带来一定的帮助,如果有疑问大家可以留言交流,谢谢大家对内存溢出PHP的支持.

总结

以上是内存溢出为你收集整理的Mysql实例MySQL启动时InnoDB引擎被禁用了的解决方法全部内容,希望文章能够帮你解决Mysql实例MySQL启动时InnoDB引擎被禁用了的解决方法所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/sjk/1158794.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-01
下一篇 2022-06-01

发表评论

登录后才能评论

评论列表(0条)

保存