WordPress docker not connecting to mariadb docker


Recommended Posts

Hi,

I'm trying to connect my wordpress site, in its own docker to a mariadb docker. In the wordpress setup for the database host i've entered 192.168.0.83:3306 (trying both with and without the port) but I get an error establishing database connection. (User permissions are set correctly for the database)

See the attached image for port & ip details. Is there anything obvious that i'm missing?

Thanks.

docker.JPG

Link to comment
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.