0

Sorry but I started this thread because I couldn't found a solution. I'm using MySQL Router and InnoDB Cluster to deploy a sandbox cluster. I've followed the documentation see here and here , but when I try to connect by mysqlsh --uri root@localhost:6446, it outputs this following error:

MySQL Error 2003 (HY000): Can't connect to remote MySQL server for client connected to '127.0.0.1:6446'

What am I missing?

Bryan Arreola
  • 197
  • 1
  • 6
  • 22
  • Have you looked at https://stackoverflow.com/questions/1673530/error-2003-hy000-cant-connect-to-mysql-server-on-127-0-0-1-111 ? – Moak Jun 26 '18 at 18:00

1 Answers1

1

Maybe you can check the myrouter log?

In my log it shows the following:

Failed connecting with Metadata Server mysql-db1.mjdh.local:3308: Unknown MySQL server host 'mysql-db1.mjdh.local' (110) (2005)

So I write it in hosts and the problem missed.

hooknc
  • 4,854
  • 5
  • 31
  • 60