diff --git a/production/export-to-production.sh b/production/export-to-production.sh index a7e3db0..3e96793 100755 --- a/production/export-to-production.sh +++ b/production/export-to-production.sh @@ -8,9 +8,9 @@ _scp_to_base="root@$_remote_host.$_domain:$_docker_dir" echo "HOST=$_remote_host" > .env echo "DOMAIN=$_domain" >> .env echo "MYSQL_ROOT_PASSWD=$_mysql_root_passwd" >> .env +echo "MYSQL_DATABASE=wordpress" >> .env echo "MYSQL_USER=wordpress" >> .env echo "MYSQL_PASSWORD=wordpress" >> .env -echo "MYSQL_DATABASE=wordpress" >> .env $_ssh_cmd "mkdir -p $_docker_dir/wordpress" @@ -40,9 +40,9 @@ $_ssh_cmd "cd $_docker_dir && docker-compose up -d --build" # temporary solution echo "waiting for mysql to initialise ..." sleep 10 -echo "still waiting for mysql to initialise ..." +echo "still waiting for mysql ..." sleep 10 -echo "waiting a little bit longer for mysql to initialise ..." +echo "and still waiting for mysql ..." sleep 5 echo "Configuring WordPress ..."