Dba.deploySandboxInstance: (RuntimeError)

用sandbox 搭建InnoDB Cluster环境时遇到如下问题:

mysql-js> dba.deploySandboxInstance(3310)
A new MySQL sandbox instance will be created on this host in 
/root/mysql-sandboxes/3310


Warning: Sandbox instances are only suitable for deploying and 
running on your local machine for testing purposes and are not 
accessible from external networks.


Please enter a MySQL root password for the new instance: 
Deploying new MySQL instance...

Dba.deploySandboxInstance:  (RuntimeError)


通过dba.help('deploySandboxInstance')看到RuntimeError的解释,但还是不知道该怎么处理

mysql-js>  dba.help('deploySandboxInstance')

EXCEPTIONS

  RuntimeError: f SSL support can be provided and ignoreSslError: false.

DESCRIPTION

- ignoreSslError: Ignore errors when adding SSL support for the new instance,  by default: true.


检查mysqlshell的日志:

tail -f  $/HOME/.mysqlsh/mysqlsh.log  

ImportError: can't decompress data; zlib not available

发现python2.7 环境中缺少zlib,ssl

安装相关依赖:yum -y install zlib*,openssl

重新编译python后,重试,正常。



https://dev.mysql.com/doc/refman/5.7/en/mysql-innodb-cluster-sandbox-deployment.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值