-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Updated mysql tests to use MySQL 8.3
- Loading branch information
1 parent
e036436
commit 9ce916f
Showing
4 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
This directory contains resources for Docker containers that are used in | ||
our versioned tests. A typical case would be to mount a directory as a volume. | ||
For example: | ||
|
||
```yaml | ||
mysql: | ||
container_name: nr_node_mysql | ||
platform: ${DOCKER_PLATFORM:-linux/amd64} | ||
image: mysql:8.3 | ||
volumes: | ||
- "./docker/mysql:/etc/mysql/conf.d" | ||
ports: | ||
- "3306:3306" | ||
environment: | ||
MYSQL_ALLOW_EMPTY_PASSWORD: 1 | ||
healthcheck: | ||
test: ["CMD", "mysql" ,"-h", "mysql", "-P", "3306", "-u", "root", "-e", "SELECT 1"] | ||
interval: 1s | ||
timeout: 10s | ||
retries: 30 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[mysqld] | ||
# Without changing the verbosity to 1, we will get a warning about the | ||
# authentication method deprecation _every second_. | ||
log_error_verbosity=1 | ||
|
||
# Switch us back to the pre-8.0 authentication method. | ||
default-authentication-plugin=mysql_native_password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters