Skip to content

Commit

Permalink
Upgrade MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Aug 21, 2023
1 parent c24c3cd commit 7b57833
Show file tree
Hide file tree
Showing 2 changed files with 2 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
4 changes: 1 addition & 3 deletions hack/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ volumes:
services:

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

0 comments on commit 7b57833

Please sign in to comment.