MYSQL工具集rpm安装在MYSQL 8里的bug:ImportError: No module named utilities.command.binlog_admin

出现故障

[root@redhat7 ~]# mysqlbinlogmove --help
Traceback (most recent call last):
  File "/usr/bin/mysqlbinlogmove", line 26, in <module>
    import mysql.utilities.command.binlog_admin as binlog_admin
ImportError: No module named utilities.command.binlog_admin

使用下面命令可以修复:

# ln -s /usr/lib/python2.7/site-packages/mysql/utilities /usr/lib64/python2.7/site-packages/mysql/utilities 

参见
https://bugs.mysql.com/bug.php?id=88376

姚远ACE CSDN认证博客专家 ACE 华为云 MVP
Oracle ACE,华为云 MVP,Oracle10g,12c OCM; MySQL 5.6,5.7,8.0 OCP;CCNA; EMC Certified; IBM P Certified; RHCE; SQLServer 764; DB2 Certified; TOEIC 890;获得过两次国家部级科技进步奖;发明过两项计算机专利。微信:yaoyuanace 邮箱:yaoyuanace(at)qq.com
已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: Age of Ai 设计师:meimeiellie 返回首页