Score:1

Docker compose simple routing for Mysql router

ng flag
    version: '3.1'
services:
  Mysql:
    image:
      mysql-router:latest
    hostname: mysql-router
    environment:
      MYSQL_PASSWORD: 123456
      MYSQL_HOST: 192.168.1.1
      MYSQL_PORT: xx
      MYSQL_USER: xxx

I would like to deploy a Mysql router with a docker-compose file on 192.168.1.2 and I will like to make it route to another MySQL router, the MYSQL_HOST is the destination (192.168.1.1). I get the error message said that the 192.168.1.1 contain MySQL InnoDB cluster but schema doesn't exist, I understand the solution can be added/adopt group replication deployment but I have no idea why there is a cluster because all I want to do is just simple routing from 192.168.1.2 to 192.168.1.1. I appreciate if someone have an idea about what go wring here

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.