michaloo / dockerpresso

Docker Compose configuration generator for fast Wordpress Theme or plugin development.
28 stars 0 forks source link

Error establishing database connection #2

Closed ekanur closed 4 years ago

ekanur commented 8 years ago

run bash dockerpresso up successfully, also i have copied wp-cli-environmentalize/templates/env.txt to my .env file. But appear Error establishing database connection on my browser. Would you like to show me right .env configuration??

Thanks

michaloo commented 7 years ago

Yes, I've double checked that, and you need to set at least these variables in .env file:

MYSQL_DATABASE=testing MYSQL_USER=testing MYSQL_PASSWORD=testing ... MYSQL_ROOT_PASSWORD=testing

then run bash dockerpresso up

michaloo commented 7 years ago

I've updated the README information. @ekanur if you are still interested in the project let me know if it works for you :)