wordup-dev / wordup-cli

Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
GNU General Public License v3.0
118 stars 16 forks source link

How to connect to the database #25

Open JuicyLung91 opened 4 years ago

JuicyLung91 commented 4 years ago

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

shry commented 4 years ago

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

JuicyLung91 commented 4 years ago

It seems that the page no longer exists :)

shry commented 4 years ago

Thank you, i have fixed the link