Avatar of gopher_49
gopher_49
 asked on

accessing mysql instance withing Windows Docker Container

I followed the steps here https://hub.docker.com/r/nanoserver/mysql/  to install mySQL and PHP, however, I need the ability to access the MySQL instance via port 3306 via MySQL WorkBench..  To do this I would imagine I need to allow remote access via the mysql command ...  But.. when I type 'mysql -u root -p' via the folder that mysql is running in (connected to session via Enter-PSSession <type-here-containerID> -RunAsAdministrator it just hangs and nothing happens.  Any ideas?
PHPMySQL ServerWindows 10AzureDocker

Avatar of undefined
Last Comment
gopher_49

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
David Favor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
gopher_49

ASKER
Mysql.exe doesn't give an error.. It just hangs there.. I'll check to see if any processes are running on port 3306
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck