十一 06

mysql merge报错ERROR 1168

很是奇怪,测试了多次,错误依旧,表里的数据读写都正常。最后没有办法,用check命令检查了一下表:出现了error,提示需要upgrade,用repair table命令执行升级操作后,merge正常。后安装mysql4.0后一切正常。结论:看来myisam文件在不同版本直接直接cp是有问题的!

继续阅读全文

21

MySQL主从同步:You need the REPLICATION SLAVE privilege for this operation

slave日志中报错信息如下:

060807 11:40:17 [ERROR] While trying to obtain the list of
slaves from the master ‘xxx.xxx.xxx:3306′, user ‘rep’ got the
following error: ‘Access denied. You need the REPLICATION SLAVE
privilege for this operation’

继续阅读全文