I am on a Windows 11 Professional workstation. I am running a containerized MySQL in Docker via the instructions at https://hub.docker.com/_/mysql. It says all I need to do is run docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag
, replacing tag
with the desired tag. I used latest
for tag
.
To make it accessible to other software on my workstation, I also add a -p 3306:3306
switch. If I do that, the container closes with this error: Enter password: mysqld: Can not perform keyring migration : Invalid --keyring-migration-source option.
What I am left with is either starting MySQL without the -p 3306:3306
switch--it presumptively runs, but nothing can talk to it--or running it with the -p 3306:3306
switch, just to see it fail.
How is this supposed to work?
(Yes, I see similar questions, but none appear to answer this specific issue. Also, I opened a bug report with the container devs, but they stand by their instructions. Yes, this is a workstation, but this will run on a server eventually, and I imagine I'll run into the same issues.)