This is affecting us as well... I can see clearly in the juju logs on the unit that it fails to connect:
2024-02-29 00:27:01 ERROR unit.placement-mysql-router/5.juju-log server.go:316 db-router:70: Failed to bootstrap mysqlrouter: Error: Unable to connect to the metadata server: Error connecting to MySQL server at 10.100.33.27:0: Access denied for user 'mysqlrouteruser'@'10.100.33.2' (using password: YES) (1045)
But looking in the database... the grants look right. At the end of all of this we even see an established connection to the RW member of the DB cluster.
But... it's clearly not progressing beyond the bootstrap:
[metadata_cache:bootstrap]
cluster_type = gr
router_id = 35
user = mysql_router35_jboetej22v83
metadata_cluster = jujuCluster
ttl = 0.5
auth_cache_ttl = -1
auth_cache_refresh_interval = 2
use_gr_notifications = 0
This is affecting us as well... I can see clearly in the juju logs on the unit that it fails to connect:
2024-02-29 00:27:01 ERROR unit.placement- mysql-router/ 5.juju- log server.go:316 db-router:70: Failed to bootstrap mysqlrouter: Error: Unable to connect to the metadata server: Error connecting to MySQL server at 10.100.33.27:0: Access denied for user 'mysqlrouteruse r'@'10. 100.33. 2' (using password: YES) (1045)
But looking in the database... the grants look right. At the end of all of this we even see an established connection to the RW member of the DB cluster.
But... it's clearly not progressing beyond the bootstrap: cache:bootstrap ] jboetej22v83 refresh_ interval = 2 notifications = 0
[metadata_
cluster_type = gr
router_id = 35
user = mysql_router35_
metadata_cluster = jujuCluster
ttl = 0.5
auth_cache_ttl = -1
auth_cache_
use_gr_
[routing: bootstrap_ rw] mysql/placement -mysql- router/ mysql.sock cache:/ /jujuCluster/ ?role=PRIMARY
bind_address = 127.0.0.1
bind_port = 3306
socket = /var/lib/
destinations = metadata-
routing_strategy = first-available
protocol = classic
[routing: bootstrap_ ro] mysql/placement -mysql- router/ mysqlro. sock cache:/ /jujuCluster/ ?role=SECONDARY with-fallback
bind_address = 127.0.0.1
bind_port = 3307
socket = /var/lib/
destinations = metadata-
routing_strategy = round-robin-
protocol = classic
[routing: bootstrap_ x_rw] mysql/placement -mysql- router/ mysqlx. sock cache:/ /jujuCluster/ ?role=PRIMARY
bind_address = 127.0.0.1
bind_port = 3308
socket = /var/lib/
destinations = metadata-
routing_strategy = first-available
protocol = x
[routing: bootstrap_ x_ro] mysql/placement -mysql- router/ mysqlxro. sock cache:/ /jujuCluster/ ?role=SECONDARY with-fallback
bind_address = 127.0.0.1
bind_port = 3309
socket = /var/lib/
destinations = metadata-
routing_strategy = round-robin-
protocol = x