wordup-cli icon indicating copy to clipboard operation
wordup-cli copied to clipboard

How to connect to the database

Open JuicyLung91 opened this issue 5 years ago • 3 comments

If I want to connect to the database through 3rd party software such as Sequel Pro, what is the host of the database? What I´ve found out so far out of the wp-config.php:

DB_NAME: wordpress DB_USER: wordpress DB_PASSWORD: wordpress DB_HOST: db:3306

JuicyLung91 avatar Mar 26 '20 08:03 JuicyLung91

The credentials are correct, but keep in mind the host is only accessible inside docker. What you could do: Add a custom docker-compose.yml in your project and extend the database container, in order to open the port on your system. See: https://docs.wordup.dev/docs/development/config#docker

shry avatar Mar 27 '20 19:03 shry

It seems that the page no longer exists :)

JuicyLung91 avatar May 11 '20 13:05 JuicyLung91

Thank you, i have fixed the link

shry avatar May 11 '20 13:05 shry