Skip to content

Commit

Permalink
Adding MySQL 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
codyfinegan committed May 13, 2024
1 parent 753a88c commit 51c1940
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Although this project started as a development environment for Totara Learn it c
* [PHP](http://php.net/) 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 to test for different versions
* [PostgreSQL](https://www.postgresql.org/) (9.3, 9.6, 10, 11, 12, 13, 14, 15, 16),
* [MariaDB](https://mariadb.org/) (10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.11),
* [MySQL](https://www.mysql.com/) (5.7, 8),
* [MySQL](https://www.mysql.com/) (5.7, 8.0, 8.4),
* Microsoft SQL Server ([2017](https://www.microsoft.com/en-us/sql-server/sql-server-2017), [2019](https://www.microsoft.com/en-us/sql-server/sql-server-2019))
* [NodeJS](https://nodejs.org/) for building, developing and testing frontend code
* A [PHPUnit](https://phpunit.de/) and [Behat](http://behat.org/en/latest/) setup to run tests (including [Selenium](https://www.seleniumhq.org/))
Expand Down
17 changes: 17 additions & 0 deletions compose/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@ services:
networks:
- totara

mysql84:
image: mysql:8.4
container_name: totara_mysql84
ports:
- "3309:3306"
environment:
TZ: ${TIME_ZONE}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PW}
depends_on:
- nginx
volumes:
- mysql84-data:/var/lib/mysql
- ./mysql84:/etc/mysql/conf.d
networks:
- totara

mysql57:
# MySQL 5.7 does not support multiple architectures. (MySQL 8.0 works fine)
platform: linux/amd64
Expand All @@ -37,3 +53,4 @@ services:
volumes:
mysql-data:
mysql80-data:
mysql84-data:
2 changes: 2 additions & 0 deletions mysql84/my.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[mysqld]
mysql_native_password=ON

0 comments on commit 51c1940

Please sign in to comment.