Skip to content

Commit

Permalink
Migrate mysql to 8.4 in Docker compose (#10548)
Browse files Browse the repository at this point in the history
* update docker compose for mysql8.4

* remove deprecated command
  • Loading branch information
FinnIckler authored Jan 13, 2025
1 parent fda1d5e commit e1b7fc8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,13 @@ services:
condition: service_completed_successfully

wca_db:
image: mysql:8.0
# You will have to run docker exec -it database mysql to connect to the database and then
# ALTER USER 'root'@'%' IDENTIFIED WITH caching_sha2_password BY '';
# To upgrade your DB from mysql8.0 to mysql8.4
image: mysql:8.4
container_name: "database"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
command: --authentication-policy=mysql_native_password
ports:
- "3306:3306"
volumes:
Expand Down

0 comments on commit e1b7fc8

Please sign in to comment.