在更改innodb_file_format值的设定时,除innodb_file_per_table以外,还需多注意另外两个参数:

innodb_file_format_check

As of MySQL 5.5.5, this variable can be set to 1 or 0 at server startup to enable or disable whether InnoDB checks the file format tag in the shared tablespace (for example, Antelope or Barracuda). If the tag is checked and is higher than that supported by the current version of InnoDB, an error occurs and InnoDB does not start. If the tag is not higher, InnoDB sets the value of innodb_file_format_max to the file format tag.

Before MySQL 5.5.5, this variable can be set to 1 or 0 at server startup to enable or disable whether InnoDB checks the file format tag in the shared tablespace. If the tag is checked and is higher than that supported by the current version of InnoDB, an error occurs and InnoDB does not start. If the tag is not higher, InnoDB sets the value of innodb_file_format_check to the file format tag, which is the value seen at runtime.

innodb_file_format_max

At server startup, InnoDB sets the value of innodb_file_format_max to the file format tag in the shared tablespace (for example, Antelope or Barracuda). If the server creates or opens a table with a “higher” file format, it sets the value of innodb_file_format_max to that format.

This variable was added in MySQL 5.5.5.

mysql innodb_file_format_innodb_file_format设置相关推荐

  1. mysql关于时间的面试题,mysql时间设置默认值MySQL常见面试题

    1.limit(选出10 到20 条) select * from students order by id limit 9,10; 2.MySQL 会使用索引的操作符号 =,>,=,betwe ...

  2. Mysql中设置默认时间为当前值

    1.直接在创建表时添加该列并声明默认值,如下: CREATE TABLE `table1` (`id` int(11) NOT NULL,`createtime` timestamp NULL def ...

  3. php mysql 超时时间_php mysql超时设置方法

    php mysql超时设置方法,源码,参数,底层,层面,都是 php mysql超时设置方法 易采站长站,站长之家为您整理了php mysql超时设置方法的相关内容. php mysql超时设置方法: ...

  4. mysql中设置字符集语句_mysql设置字符集

    一般情况下,防止程序交互过程中出现乱码情况,所以前后台都会同意编码格式. 因为UTF-8编码方式国际通用,所以我在mysql中设置编码格式UTF-8. 先查看mysql编码格式. show varia ...

  5. mysql 配置文件设置最大链接数 max_connections不生效

    mysql 配置文件设置最大链接数 max_connections不生效 文章目录 mysql 配置文件设置最大链接数 max_connections不生效 参考链接 1.临时设置最大链接数为1000 ...

  6. CentOS7安装MySQL并设置远程登录

    在CentOS中默认安装有MariaDB,这个是MySQL的分支,但为了需要,还是要在系统中安装MySQL,而且安装完成之后可以直接覆盖掉MariaDB. 1 下载并安装MySQL官方的 Yum Re ...

  7. linux安装mysql、卸载mysql、设置mysql

    linux下安装mysql: yum install mysql-server yum install mysql-devel 启动mysql: service mysqld start 卸载mysq ...

  8. mysql max_allowed_packet 设置过小导致记录写入失败

    mysql max_allowed_packet 设置过小导致记录写入失败 mysql根据配置文件会限制server接受的数据包大小. 有时候大的插入和更新会受max_allowed_packet 参 ...

  9. 远程访问CENTOS的MYSQL数据库设置

    远程访问CENTOS的MYSQL数据库设置 mysql -u root grant all privileges on *.* to root@'%'identified by 'root'; 后面的 ...

最新文章

  1. 专家认为自动驾驶汽车需要很多年的五个原因
  2. JS正则表达式验证数字
  3. div 设置 hover时边框颜色_CSS 奇思妙想边框动画
  4. C中结构体的存储分配
  5. 免费素材下载:Box Of Bundles Number 2
  6. 在网络中同时使用kfold和使用Dropout(基于Iris数据集)
  7. HID报表描述符(目前最全的解析,也是USB最复杂的描述符)
  8. C语言中“指针”和“指针变量”的区别是什么
  9. VC实现表单提交并设置获取COOKIE:
  10. nginx编译安装_Nginx编译安装nginx-upsync-module模块以实现动态负载
  11. oracle ora 00910,NVARCHAR2字段超长问题:ORA-00910: specified length too long for its datatype
  12. 百家号 python高手养成_python高手养成记04:python的所有数据类型,一篇足矣
  13. mysql 5.6忘记root密码_Linux平台MySQL忘记root密码解决方案
  14. MicroMsg.SDK.WXMediaMessage: checkArgs fail, thumbData is invalid
  15. 进销存excel_超实用Excel完整进销存管理系统,多功能实现,轻松套用赶GET
  16. SPSS基础教程:SPSS菜单命令详解(二)
  17. 新手CrossApp 之IndicatorView小结
  18. 轻松读懂三极管,原来它是这样工作的
  19. 网易云热评 《十年》
  20. Linux版本查看及PS1配置

热门文章

  1. [实战]MVC5+EF6+MySql企业网盘实战(24)——视频列表
  2. VLAN间路由:每个VLAN一个物理连接,单臂路由,三层交换
  3. [脚本] 一个用于BMP到EPS转换的BAT脚本实现(需要安装bmeps)
  4. [JS3] 立即执行JS
  5. 数据预处理-pandas-04-p4
  6. python坐标系 向量分量_关于Python中的向量相加和numpy中的向量相加效率对比
  7. docker兼容的linux内核,CentOS 6.5上安装Docker与Docker对中文字符集的支持
  8. 基础XML配置的AOP与基于注解实现的AOP详细对比
  9. Apache Qpid:一个AMQP的开源实现
  10. 详解ISA2006的三种客户端模式