Using latest Docker desktop and mariadb/latest image I have created a container, which runs OK, local MySQL command work successfully.
BUT whatever I try to connect to the container with HeidiSQL, I get
"Can't connect to MySql server on 0.0.0.0 (10049)"
I think I have read at least 50 different "solutions" here and on other sites, but whatever I do, I get the same error, whatever IP
I use.
Running Windows 10 Pro freshly updated, as with latest Docker desktop. Created the container with
docker run -p 3306:3306 --name demo -e MYSQL_ROOT_PASSWORD=xyz -d mariadb/server --log-bin --binlog-format=MIXED
Changed binding in my.cnf
to 0.0.0.0
Granted all rights to 'root'@'%'
thru local mysql cli
.
Restarted the whole shebang NUMEROUS times
Tried connections on 0.0.0.0, 127.0.0.1, localhost, 172.17.0.2, etc, etc, etc. "docker ps" says PORT: "3306/tcp"
Using bash
in the container, I can reach out and apt update
etc, etc.
I'm out of options. Is there a kind guru out there with a new suggestion?