Skip to content

Commit

Permalink
Upgrade MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Aug 22, 2023
1 parent b302187 commit ad4e41b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ endef

define grant_all_on_db
docker compose exec -T mysql mysql -hlocalhost -uroot -p12345 -e '\
GRANT ALL ON `$(1)`.* TO "archivematica"@"%" IDENTIFIED BY "demo";'
GRANT ALL ON `$(1)`.* TO "archivematica"@"%";'
endef

define drop_db
Expand Down
5 changes: 2 additions & 3 deletions hack/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ volumes:
services:

mysql:
image: "percona:5.7"
user: "mysql"
command: "--character-set-server=utf8 --collation-server=utf8_general_ci"
image: "percona:8.0"
command: "--character-set-server=utf8mb4 --collation-server=utf8mb4_0900_ai_ci"
environment:
MYSQL_ROOT_PASSWORD: "12345"
# These are used in the settings.testmysql modules
Expand Down

0 comments on commit ad4e41b

Please sign in to comment.