mysql-8.0 - 在 innodb 集群中获取 ipallowlist
问题描述
我是 innodb 集群的新手,在设置 innodb 集群时,有一个步骤来设置ipAllowlist
c.addInstance("cluster_admin@service_name_of_new_node:3306",{ipAllowlist: "node1_service_name,new_node_service_name,...all_existing_service_names_in_this_cluster", recoveryMethod:"clone"});
您如何检索当前的 ipAllowlist?
解决方案
您可以使用
cluster = dba.getCluster()
cluster.options()
推荐阅读
- hadoop - 无法从配置单元加载数据:-chgrp:'LONEWOLF\Sudarshan' 与组的预期模式不匹配
- python - 在 PB 文件中检查 DL 模型的输入和输出尺寸
- c# - 发送邮件时出现 SMTP 服务器连接错误
- python - 类型错误:remove() 接受 1 个位置参数,但给出了 2 个
- jquery - 如何在 ajax 回调后重新加载 div,而该 div 中没有特定类
- mysql - MYSQL,将数据从一个表复制到另一个表,并以varchar为增量
- javascript - 用javascript中的重复字符替换函数返回字符串
- mysql - Liquibase 使用无效的 MySQL 语法生成更改日志,数据类型为“JSON(1073741824)”
- python - 从 API 而不是从数据库获取数据
- java - 多级模块Maven发布配置