Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14.06k stars 16.12k forks source link

Azure Quickstart template for docker-wordpress-mysql does not properly configure database #6620

Open toolboc opened 5 years ago

toolboc commented 5 years ago

docker-wordpress-mysql

Issue Details

Deployment of the docker-wordpress-mysql template results in a misconfigured mysqldb instance, this blocks the ability to configure and interact with wordpress due to a "Error establishing a Database Connection"

Repro steps

  1. Deploy the docker-wordpress-mysql template
  2. Visit the ip or DNS of the created "MyPublicIp" instance image
  3. Notice that an error message is displayed: image

Expected Result

User should be met with the initial WordPress installation and configuration prompt

gklonis commented 4 years ago

docker-wordpress-mysql Issue Details Deployment of the docker-wordpress-mysql template results in a misconfigured mysqldb instance, this blocks the ability to configure and interact with wordpress due to a "Error establishing a Database Connection" Repro steps

Deploy the docker-wordpress-mysql template Visit the ip or DNS of the created "MyPublicIp" instance

Notice that an error message is displayed:

Expected Result User should be met with the initial WordPress installation and configuration prompt

Hello, I have the same problem. Any solution? Gregory

r2roesk commented 4 years ago

Same problem. Has been going since last year. Any updates?

dcd000 commented 4 years ago

There is a problem with the wordpress compose service. It should have set environment variable WORDPRESS_DB_PASSWORD (similar to mysql compose service), but it hasn't got.