免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5966 | 回复: 10
打印 上一主题 下一主题

innodb disabled 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-20 10:05 |只看该作者 |倒序浏览
| Engine     | Support  | Comment                                                        |
+------------+----------+----------------------------------------------------------------+
| MyISAM     | DEFAULT  | Default engine as of MySQL 3.23 with great performance         |
| MEMORY     | YES      | Hash based, stored in memory, useful for temporary tables      |
| InnoDB     | DISABLED | Supports transactions, row-level locking, and foreign keys     |
请问有几个选项 影响Innodb engine = yes

论坛徽章:
9
每日论坛发贴之星
日期:2016-01-04 06:20:00数据库技术版块每日发帖之星
日期:2016-01-04 06:20:00每日论坛发贴之星
日期:2016-01-04 06:20:00数据库技术版块每日发帖之星
日期:2016-01-04 06:20:00IT运维版块每日发帖之星
日期:2016-01-04 06:20:00IT运维版块每日发帖之星
日期:2016-01-04 06:20:00综合交流区版块每日发帖之星
日期:2016-01-04 06:20:00综合交流区版块每日发帖之星
日期:2016-01-04 06:20:00数据库技术版块每周发帖之星
日期:2016-03-07 16:30:25
2 [报告]
发表于 2009-08-20 13:55 |只看该作者
mysql启动时会依次在一些文件夹下搜索是否存在配置文件,并对重复参数进行覆盖。
http://blog.chinaunix.net/u3/90603/showart_2022549.html

你可以检查下,这些文件下你有没有disable innodb

论坛徽章:
0
3 [报告]
发表于 2009-08-21 09:15 |只看该作者
配置文件没问题,但因是家里实验的机器,反复的更该参数,
[root@you-env-6 var]# cat /etc/my.cnf
!include /etc/my_you.cnf

现关于innodb的参数如下:

transaction-isolation = READ-COMMITTED
innodb_buffer_pool_size = 10M
innodb_log_buffer_size = 4M
innodb_log_file_size = 5M
#innodb_file_per_table
innodb_file_per_table
innodb_status_file
innodb_thread_concurrency= 16
innodb_table_locks=0
innodb_data_file_path=idbata1:50M;idbata2:50M:autoextend

论坛徽章:
0
4 [报告]
发表于 2009-08-21 09:39 |只看该作者
编译mysql的时候,没有添加innodb引擎

论坛徽章:
0
5 [报告]
发表于 2009-08-21 09:59 |只看该作者

回复 #1 youcz 的帖子

我好几台一起编译的啊,别的都好用啊,
mysql> show engines;
+------------+----------+----------------------------------------------------------------+
| Engine     | Support  | Comment                                                        |
+------------+----------+----------------------------------------------------------------+
| MyISAM     | DEFAULT  | Default engine as of MySQL 3.23 with great performance         |
| MEMORY     | YES      | Hash based, stored in memory, useful for temporary tables      |
| InnoDB     | DISABLED | Supports transactions, row-level locking, and foreign keys     |
| BerkeleyDB | NO       | Supports transactions and page-level locking                   |
| BLACKHOLE  | NO       | /dev/null storage engine (anything you write to it disappears) |
| EXAMPLE    | NO       | Example storage engine                                         |
| ARCHIVE    | NO       | Archive storage engine                                         |
| CSV        | NO       | CSV storage engine                                             |
| ndbcluster | NO       | Clustered, fault-tolerant, memory-based tables                 |
| FEDERATED  | NO       | Federated MySQL storage engine                                 |
| MRG_MYISAM | YES      | Collection of identical MyISAM tables                          |
| ISAM       | NO       | Obsolete storage engine                                        |
+------------+----------+----------------------------------------------------------------+
不是说没编译的应为 no 吗。

论坛徽章:
0
6 [报告]
发表于 2009-08-21 10:01 |只看该作者

回复 #1 youcz 的帖子

mysql 能看编译参数吗,象Apache那样的

论坛徽章:
0
7 [报告]
发表于 2009-08-21 11:11 |只看该作者
看看错误日志

论坛徽章:
0
8 [报告]
发表于 2009-08-23 19:51 |只看该作者
看看你的错误日值吧。

论坛徽章:
0
9 [报告]
发表于 2009-08-25 18:55 |只看该作者
常见的是ib_logfile大小跟配置文件里的不一致或ibdata文件有问题, 听楼上的看看错误日志就明白了

论坛徽章:
0
10 [报告]
发表于 2009-08-26 07:21 |只看该作者

回复 #1 youcz 的帖子

看了日志,删了log,重启,ok。thx
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP