动态:添加表空间定义文件出错不能添加第2个文件 innodb_data_file_path = /data1/ibdata1:10M:autoextend;/data1/ibdata2:1000M:autoextend
2013-04-27 09:06
363 查看
遇到问题:
动态:添加表空间定义文件出错不能添加第2个文件
innodb_data_file_path = /data1/ibdata1:10M:autoextend;/data1/ibdata2:1000M:autoextend
InnoDB: Error: data file ./ibdata1 is of a different size
InnoDB: 1152 pages (rounded down to MB)
InnoDB: than specified in the .cnf file 640 pages!
130426 8:46:08 InnoDB: Could not open or create data files.
130426 8:46:08 InnoDB: If you tried to add new data files, and it failed here,
130426 8:46:08 InnoDB: you should now edit innodb_data_file_path in my.cnf back
130426 8:46:08 InnoDB: to what it was, and remove the new ibdata files InnoDB created
130426 8:46:08 InnoDB: in this failed attempt. InnoDB only wrote those files full of
130426 8:46:08 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
130426 8:46:08 InnoDB: remove old data files which contain your precious data!
130426 8:46:08 [ERROR] Plugin 'InnoDB' init function returned error.
130426 8:46:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130426 8:46:08 [ERROR] Unknown/unsupported storage engine: InnoDB
130426 8:46:08 [ERROR] Aborting
原因:表格空己经涨到18M,但是指定10M出错
#bug
innodb_data_file_path = ibdata1:10M;ibdata2:10M:autoextend
修改:
[root@james data1]# ll -h
total 30M
drwx------ 2 mysql mysql 4.0K Apr 26 08:04 demo
-rw-rw---- 1 mysql mysql 18M Apr 26 09:17 ibdata1
innodb_data_file_path = ibdata1:18M;ibdata2:10M:autoextend
动态:添加表空间定义文件出错不能添加第2个文件
innodb_data_file_path = /data1/ibdata1:10M:autoextend;/data1/ibdata2:1000M:autoextend
InnoDB: Error: data file ./ibdata1 is of a different size
InnoDB: 1152 pages (rounded down to MB)
InnoDB: than specified in the .cnf file 640 pages!
130426 8:46:08 InnoDB: Could not open or create data files.
130426 8:46:08 InnoDB: If you tried to add new data files, and it failed here,
130426 8:46:08 InnoDB: you should now edit innodb_data_file_path in my.cnf back
130426 8:46:08 InnoDB: to what it was, and remove the new ibdata files InnoDB created
130426 8:46:08 InnoDB: in this failed attempt. InnoDB only wrote those files full of
130426 8:46:08 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
130426 8:46:08 InnoDB: remove old data files which contain your precious data!
130426 8:46:08 [ERROR] Plugin 'InnoDB' init function returned error.
130426 8:46:08 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130426 8:46:08 [ERROR] Unknown/unsupported storage engine: InnoDB
130426 8:46:08 [ERROR] Aborting
原因:表格空己经涨到18M,但是指定10M出错
#bug
innodb_data_file_path = ibdata1:10M;ibdata2:10M:autoextend
修改:
[root@james data1]# ll -h
total 30M
drwx------ 2 mysql mysql 4.0K Apr 26 08:04 demo
-rw-rw---- 1 mysql mysql 18M Apr 26 09:17 ibdata1
innodb_data_file_path = ibdata1:18M;ibdata2:10M:autoextend
相关文章推荐
- MySQL启动错误一例 idata1与my.cnf innodb_data_file_path = ibdata1:XX:autoextend不一致造成的错误
- vc6不能打开和添加文件,但是可以打开工作空间 问题解决
- VC添加文件到工程出错问题--FileTool.dll
- 上传文件出错:org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
- jsp页面中动态添加上传输入项注意的问题:“添加上传文件”按钮的name属性值不能和onclick属性的值相同!!!
- mysql5.7.12/13在安装新实例时报错:InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero
- ajaxFileUpload+struts2实现多文件上传(动态添加文件上传框)
- 关于Html动态添加上传文件控件inputFile(附件)及清除已选择的文件的几个方法
- CentOS7使用lvm动态添加磁盘到逻辑卷/data (适用xfs文件系统)
- InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
- 网站添加数据出错,原来是MS SQL Server2008日志文件占据空间过大导致的
- 加载动态链接库文件.so 失败出错—— No such file or directory (没有文件或目录)问题处理
- 如何正确的给innodb表空间添加数据文件
- 如何增mysql innodb_data 文件的空间
- jQuery动态添加input type=file文件上传域
- 在脚步lookup中,询问用户是否要往文件datafile添加一条记录
- vc6.0不能打开文件-vc6.0 windows7下不能打开文件不能添加工程文件-FileTool.exe下载地址
- 添加文件【COCOS2DX-LUA 脚本开发之十三】解决lua项目编译Android出现get data from file failed、Cocos2dxActivity cannot be 路径等问题
- ajaxFileUpload+struts2实现多文件上传(动态添加文件上传框)
- 在使用FileReader.readAsDataURL()时,处理不能不能连续选择同一个文件的问题