Skip to content

Commit

Permalink
Update MySQL tests to MySQL Server 8.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrainger committed Nov 2, 2023
1 parent 0b7a4fe commit 4cb2720
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ci/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OMIT_FEATURES=$3
MYSQL_EXTRA=
MYSQL=mysql

if [[ "$IMAGE" == mysql:8.0 || "$IMAGE" == mysql:8.1 ]]; then
if [[ "$IMAGE" == mysql:8.0 || "$IMAGE" == mysql:8.2 ]]; then
MYSQL_EXTRA='--default-authentication-plugin=mysql_native_password'
fi
if [[ "$IMAGE" == mariadb* ]]; then
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ jobs:
image: 'mysql:8.0'
connectionStringExtra: ''
unsupportedFeatures: 'Ed25519,StreamingResults,Tls11,ZeroDateTime'
'MySQL 8.1':
image: 'mysql:8.1'
'MySQL 8.2':
image: 'mysql:8.2'
connectionStringExtra: ''
unsupportedFeatures: 'Ed25519,StreamingResults,Tls11,ZeroDateTime'
'MariaDB 10.6':
Expand Down
2 changes: 1 addition & 1 deletion docs/content/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Amazon Aurora RDS | 2.x, 3.x | Use `Pipelining=False` [for Aurora 2.x](https://m
Azure Database for MySQL | 5.7, 8.0 | Single Server and Flexible Server
Google Cloud SQL for MySQL | 5.6, 5.7, 8.0 |
MariaDB | 10.x, 11.x (**10.6**, **10.11**, **11.1**) |
MySQL | 5.5, 5.6, **5.7**, **8.0**, **8.1** | 5.5 is EOL and has some [compatibility issues](https://github.com/mysql-net/MySqlConnector/issues/1192); 5.6 is EOL
MySQL | 5.5, 5.6, **5.7**, **8.0**, 8.1, **8.2** | 5.5 is EOL and has some [compatibility issues](https://github.com/mysql-net/MySqlConnector/issues/1192); 5.6 and 5.7 are EOL
Percona Server | 5.6, 5.7, 8.0 |
PlanetScale | | See PlanetScale [MySQL compatibility notes](https://planetscale.com/docs/reference/mysql-compatibility)
ProxySQL | 2.x | Some [compatibility issues](https://github.com/search?q=repo%3Amysql-net%2FMySqlConnector+proxysql&type=issues)
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It also verifies that MySqlConnector and MySQL Connector/NET (MySql.Data) have s

The tests require a MySQL server. The simplest way to run one is with [Docker](https://www.docker.com/community-edition):

docker run -d --rm --name mysqlconnector -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 --tmpfs /var/lib/mysql mysql:8.0 --max-allowed-packet=96M --character-set-server=utf8mb4 --log-bin-trust-function-creators=1 --local-infile=1 --max-connections=250
docker run -d --rm --name mysqlconnector -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 --tmpfs /var/lib/mysql mysql:8.2 --max-allowed-packet=96M --character-set-server=utf8mb4 --log-bin-trust-function-creators=1 --local-infile=1 --max-connections=250
docker exec mysqlconnector mysql -uroot -ppass -e "INSTALL COMPONENT 'file://component_query_attributes';"

Copy the file `IntegrationTests/config.json.example` to `IntegrationTests/config.json`, then edit
Expand Down

0 comments on commit 4cb2720

Please sign in to comment.