I have setup a local database and need to run it through docker. I can connect that db in workbench but it doesnt work from docker. I have used credentials of local but cant run in postman as it shows access denied.
13 freelancere byder i gennemsnit $36 på dette job
hello aniket, have you tried the option docker run --net=host which means that the container has direct access to localhost and you can now access localhost:3306 for the database? Let me know.. thanks
Hello there! I am a computer scientist with 3 years of experience in Docker. I would love to discuss why the container doesn't see the local db. I hope to hear from you soon!