mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-27 04:25:02 +01:00
.. | ||
files | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
vars | ||
README.md |
role docker-wordpress
database
access database
To access the database execute
docker-compose exec -it database /bin/mysql -u wordpress -p
upgrade database
To upgrade the database execute
docker-compose exec -it database /bin/mysql_upgrade --user=root --password=
change database root password
- https://wolfgang.gassler.org/reset-password-mariadb-mysql-docker/
- https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password
bash in application
docker-compose exec -it wordpress-application-1 /bin/sh
update wp-config.php
apt update && apt install nano && nano wp-config.php