troubleshooting Question

accessing mysql instance withing Windows Docker Container

Avatar of gopher_49
gopher_49 asked on
PHPMySQL ServerWindows 10AzureDocker
2 Comments1 Solution172 ViewsLast Modified:
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
David Favor
Fractional CTO
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros