Skip to content

Commit

Permalink
Upgrade to MySQL 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill authored Aug 23, 2023
1 parent 05c0bc7 commit d8fba96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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
2 changes: 1 addition & 1 deletion hack/submodules/archivematica-storage-service

0 comments on commit d8fba96

Please sign in to comment.