标签:xtrabackup_56: command not found error: no 'mysqld' group in mysql options
现象:手动执行xtrabackup没问题,环境变量检查过也没问题。放到执行计划中
会报错:
sh: xtrabackup_56: command not found innobackupex: Error: no ‘mysqld‘ group in MySQL options at /usr/local/xtrabackup/bin/innobackupex line 4357.
经查,我的xtrabackup压缩到/usr/local/xtrabackup中,该目录bin下存在xtrabackup_56,应该不存在这个问题,尝试的解决方案有,注释掉/etc/my.cnf中的#default-character-set=utf8(未能解决)
经过google,终于找到可行的方法,将xtrabackup_56拷贝到/usr/bin下解决,不再报错,增量备份顺利进行
本文出自 “岁伏” 博客,请务必保留此出处http://suifu.blog.51cto.com/9167728/1795840
解决xtrabackup command not found no mysqld group 问题
标签:xtrabackup_56: command not found error: no 'mysqld' group in mysql options
原文地址:http://suifu.blog.51cto.com/9167728/1795840