DEV Community

Discussion on: Run MySQL on Docker and use in your Java App

Collapse
 
franzisk profile image
Francisco Vieira Souza

Hey friend,

Very nice your tutorial.

On the first command (to install mysql on the container), what happens if I have already a mysql local running on 3306 port?

I also would like to know how to create a container with mysql + java + MyApplication.jar, how can I do that?

Collapse
 
sandrogiacom profile image
Sandro Giacomozzi

Thanks for your feedback. See my other posts about this subject. About port, you received an error. Just change port of left side.

dev.to/sandrogiacom/kubernetes-for...