![]() And if you have created a new network, without specifying the type – it will also default to the bridge driver. ![]() ![]() If you have not specified any network for your mysql container, then it is connected to the default bridge network. The container name of a docker container, is not a DNS name that the docker host can resolve. The reason that you are not able to connect, is that the host name network_mysql that you specify in the connection settings, does not resolve to any host that your machines knows of. Docker run -p 3306:3306 -name network_mysql -network="tmp_wex_net" -d mysqlĪnd then use localhost in the hostname of your connection settings in PHPStorm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |