Link to home
Start Free TrialLog in
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?
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gopher_49
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