0

I implemented a web application with node and using inside this application a SQL database. I created this database in MYSQL Workbench and everything worked while testing. Now I want to Dockerize this application and the problem is that I don't know how to integrate my database. On Google, I only found articles about how to set up a new database inside a Docker container, but I was wondering how I can access my existing database with all my added entries.

I already tried to connect to my localhost with my root-password and the right port in the yaml file, but the connection fails every time and says that the address 0.0.0.0:3306 is already existing.

6

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.