摘要:重启MySQL时遇到下边错误InnoDB: Error: data file /usr/local/mysql/data/ibdata1 is of a different sizeInnoDB: 1152 pages (rounded down to MB)InnoDB: than specified in the .cnf file 1216 pages!找到原因是因为给mysql添加数据文件没有正确配置引起,查看一下当前数据文件的大小l# ll -h /usr/local/mysql/data/-rw-rw---- 1 mysql mysql 18M Mar 5 03:01 ibdata 阅读全文
posted @ 2012-03-05 11:13 xxd 阅读(5143) 评论(0) 推荐(0) 编辑