Hello,
MariaDB installed on backend001 with consul connect enable. I see it in Consul Dashboard.
But I cannot join it with mysql -u root -pXXXXX -h 127.0.0.1
On mariadb container, no problem with my password:
On job test I created:
job "tester" {
datacenters = ["dc1"]
region = "global"
type = "service"
group "app" {
task "wait-order" {
driver = "docker"
config {
image = "alpine"
command = "/bin/sleep"
args = ["3600"]
}
}
network {
mode = "bridge"
}
service {
name = "database-sidecar"
connect {
sidecar_service {
proxy {
upstreams {
destination_name = "database"
local_bind_port = 3306
}
}
}
}
}
}
}
is connected as you can see, but, when I tried:
I installed mariadb-client on connect-proxy-mariadb
hovewer I have this error:
Where I can looking for to find my error?
Thanks