Using 3rd party db-manager

@Didou_Schol I don’t believe your port would be 3306.
To avoid issues with local ports your outbound port would be different.

Run docker ps | grep devkinsta_db
This will give a result like

fd5885c3b91c   mariadb:10.5.5                   "docker-entrypoint.s…"   7 weeks ago   Up 5 minutes   0.0.0.0:15100->3306/tcp                                                                              devkinsta_db

Mind the part where it says 0.0.0.0:15100->3306/tcp
Here you can see your outbound port and local port
In this case 15100 on your local machine is tunneled to 3306 on your docker container.

Your configuration will use 127.0.0.1 for the host, root for username, the password you already got.
The missing link is port, which you can discover like mentioned above.

Cheers,
Nemanja

3 Likes