docker exec -ti esmero-php bash -c "cd web;../vendor/bin/drush -y si --verbose config_installer config_installer_sync_configure_form.sync_directory=/var/www/html/config/sync/ --db-url=mysql://root:[MYPASSWORD]@esmero-db/drupal8 --account-name=admin --account-pass=[MY_ADMIN_PASSWORD] -r=/var/www/html/web --sites-subdir=default --notify=false install_configure_form.enable_update_status_module=NULL install_configure_form.enable_update_status_emails=NULL;drush cr;chown -R www-data:www-data sites;"
[info] Executing: command -v mysql
[info] Executing: mysql --defaults-file=/tmp/drush_DDPmpL --database=drupal8 --host=esmero-db --silent -A < /tmp/drush_IjClLO
You are about to:
* CREATE the 'drupal8' database.
// Do you want to continue?: yes.
[info] Sites directory sites/default already exists - proceeding.
[info] Executing: mysql --defaults-file=/tmp/drush_GlGnHG --database=drupal8 --host=esmero-db --silent -A < /tmp/drush_aJnmAh
[info] Executing: mysql --defaults-file=/tmp/drush_LfMcdc --database=information_schema --host=esmero-db --silent -A < /tmp/drush_iaiOhk
[warning] Failed to drop or create the database. Do it yourself before installing. ERROR 1045 (28000): Access denied for user 'root'@'172.18.0.3' (using password: YES)
docker exec -ti esmero-db mysql -u root -p
and type your password
OR
docker exec -ti esmero-db mysql -u root -p'super"·$@!$####??-secure-password' where password is ·$@!$####??-secure-password
(notice the lack of space between the -p and the first single quote)
.env file is loaded on docker-compose up, so if you make a change there, do a docker-compose down first, then a docker-compose up -d, or a docker-compose stop and then a docker-compose start (may work, I do always do a down--up combo but I do not know everything)
You can also check the db logs when doing this by issuing this command
docker logs -f esmero-db
let us know how that goes!
Hugs
Diego
--
You received this message because you are subscribed to the Google Groups "archipelago commons" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archipelago-com...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archipelago-commons/e546d3cb-1e2b-435c-82a9-c9ac2d2483a7n%40googlegroups.com.