Error starting userland proxy: listen tcp0.0.0.0:3306: bind: address already in use

前端 未结 9 712
难免孤独
难免孤独 2020-12-09 08:16

I have to make LAravel app and to deliver a Dockerfile ,but I\'m really stuck with this. Before that I had a nightmare wile installing laravel on m

9条回答
  •  天涯浪人
    2020-12-09 08:55

    You need to change the mysql port because you are installing mysql on your machine and it takes the default port 3306

    and now you are trying to make dockervel_mysql_1 run to the same port 3306 , this is why you see in the error "Address already in use"

    so if you change dockervel_mysql_1 port to 3307 for example it will works fine , without stopping the mysql that is running on you machine

提交回复
热议问题