在 MySQL 个实例的两个 Compose 上启用复制?
Enable Replication on two Compose for MySQL instances?
我正在使用 IBM Cloud Services,我已经为 MySQL 服务实例创建了一个 Compose,我可以看到它有 2 个访问门户。两者都与服务器位于同一位置(假设是美国西部)。
我想在另一个位置(f.e Us East)创建一个新实例,并应用复制主从配置,因此我的第一个服务充当主服务器,第二个服务充当从服务器。
由于此服务在云中运行,我无法访问配置文件,例如 my.ini
个文件。
我已尝试从 CLI 配置“server-id
”全局变量,如 MySQL 文档中所述,但出现错误要求我使用 SUPER权限(使用 'admin' 用户)。 运行 GRANT SUPER on mydb TO admin@.....
,抛出 'Access denied' 错误。
我想给定管理员用户,不允许修改全局变量。
是否有可能使这个可行?
经过一些IBM的咨询,他们的回复:
Out-of-the-box, I don't think that's achievable with Compose for MySQL on the IBM Cloud. In addition, we don't permit customer configuration changes such as the one you are asking about. Is this what you are attempting to do? https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html
Note that Compose for MySQL is still a beta product and is not recommended for production type data/use cases. Please see:
https://console.bluemix.net/catalog/services/compose-for-mysql (the information at the top left)
http://www-03.ibm.com/software/sla/sladb.nsf/pdf/6605-14/$file/i126-6605-14_08-2018_en_US.pdf (see section 3 on Service Level Agreements)
我正在使用 IBM Cloud Services,我已经为 MySQL 服务实例创建了一个 Compose,我可以看到它有 2 个访问门户。两者都与服务器位于同一位置(假设是美国西部)。
我想在另一个位置(f.e Us East)创建一个新实例,并应用复制主从配置,因此我的第一个服务充当主服务器,第二个服务充当从服务器。
由于此服务在云中运行,我无法访问配置文件,例如 my.ini
个文件。
我已尝试从 CLI 配置“server-id
”全局变量,如 MySQL 文档中所述,但出现错误要求我使用 SUPER权限(使用 'admin' 用户)。 运行 GRANT SUPER on mydb TO admin@.....
,抛出 'Access denied' 错误。
我想给定管理员用户,不允许修改全局变量。
是否有可能使这个可行?
经过一些IBM的咨询,他们的回复:
Out-of-the-box, I don't think that's achievable with Compose for MySQL on the IBM Cloud. In addition, we don't permit customer configuration changes such as the one you are asking about. Is this what you are attempting to do? https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html
Note that Compose for MySQL is still a beta product and is not recommended for production type data/use cases. Please see:
https://console.bluemix.net/catalog/services/compose-for-mysql (the information at the top left)
http://www-03.ibm.com/software/sla/sladb.nsf/pdf/6605-14/$file/i126-6605-14_08-2018_en_US.pdf (see section 3 on Service Level Agreements)