MySQL启动时InnoDB引擎被禁用了怎么办


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

*************************** 1. row ***************************

  Engine: MyISAM

  Support: DEFAULT

  Comment: MyISAM storage engine

Transactions: NO

   XA: NO

 Savepoints: NO

*************************** 2. row ***************************

  Engine: CSV

  Support: YES

  Comment: CSV storage engine

Transactions: NO

   XA: NO

 Savepoints: NO

*************************** 3. row ***************************

  Engine: MEMORY

  Support: YES

  Comment: Hash based, stored in memory, useful for temporary tables

Transactions: 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 tables

Transactions: NO

   XA: NO

 Savepoints: NO

*************************** 6. row ***************************

  Engine: PERFORMANCE_SCHEMA

  Support: YES

  Comment: Performance Schema

Transactions: NO

   XA: NO

 Savepoints: NO

*************************** 7. row ***************************

  Engine: ARCHIVE

  Support: YES

  Comment: Archive storage engine

Transactions: NO

   XA: NO

 Savepoints: NO

*************************** 8. row ***************************

  Engine: FEDERATED

  Support: NO

  Comment: Federated MySQL storage engine

Transactions: NULL

   XA: NULL

 Savepoints: NULL

*************************** 9. row ***************************

  Engine: InnoDB

  Support: NO

  Comment: Supports transactions, row-level locking, and foreign keys

Transactions: NULL

   XA: NULL

 Savepoints: NULL

rows in set (0.00 sec)

在 InnoDB 的 Supports 为 NO

解决方法

编辑 my.cnf

1

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

把其中 innodb = OFF 改为 innodb = ON

同时把 skip-innodb 注释掉即可。

相关推荐:

MySQL存储引擎MyISAM和InnoDB之间的比较

mysql中innoDB锁的介绍

MySQL InnoDB和MyISAM数据引擎的差别分析详解

以上就是MySQL启动时InnoDB引擎被禁用了怎么办的详细内容,更多文章请关注木庄网络博客!!

返回前面的内容

相关阅读 >>

mysql创建函数出错如何解决

mysql怎么使用索引?

一分钟带你了解如何修改mysql表字段

mysql找回用户数据的案例

mysql语句的注入错误是什么?

mysql5.7中的json基本操作指南

简单介绍mysql中索引的使用方法

mysql基础教程之dml语句详解

mysql中对数据的操作介绍(代码示例)

mysql创建用户和授权的方法介绍(代码示例)

更多相关阅读请进入《InnoDB》频道 >>


数据库系统概念 第6版
书籍

数据库系统概念 第6版

机械工业出版社

本书主要讲述了数据模型、基于对象的数据库和XML、数据存储和查询、事务管理、体系结构等方面的内容。



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...