|
在安装mysql 5.1.68的时候,导入数据的时候报一下错误: [backcolor=white !important][backcolor=rgb(224, 224, 224) !important][size=1em]1
| [size=1em][backcolor=rgb(224, 224, 224) !important][size=1em]ERROR 1289 (HY000): The 'partitioning' feature is disabled; you need MySQL built with '--with-partition' to have it working
|
同时该业务库还是需要支持GBK的,所以在源码安装configure的时候需要加上编码和分区表的选项,我在网上看帖子也有用 [backcolor=white !important][backcolor=rgb(224, 224, 224) !important][size=1em]1
| [size=1em][backcolor=rgb(224, 224, 224) !important][size=1em]--with-plugins=max
|
自己装的时候没有用,用的一下选项 [backcolor=white !important][backcolor=rgb(224, 224, 224) !important][size=1em]1
| [size=1em][backcolor=rgb(224, 224, 224) !important][size=1em]./configure --prefix=/usr/local/mysql --datadir=/videodata/mysqldata/data --with-partition --with-extra-charsets=all --with-charset=gbk --with-charset=utf8
|
会报一下警告,但是MAKE之后报错的脚本已经插到库里面了。 [backcolor=white !important][backcolor=rgb(224, 224, 224) !important][size=1em]1
| [size=1em][backcolor=rgb(224, 224, 224) !important][size=1em]configure: WARNING: Unrecognized options:
|
|