Skip to content

Commit

Permalink
Merge pull request #127 from Sebastian-Webster/126-add-support-for-my…
Browse files Browse the repository at this point in the history
…sql-91-843-and-8040

Add support for MySQL versions 9.1.0, 8.4.3, and 8.0.40
  • Loading branch information
Sebastian-Webster authored Oct 24, 2024
2 parents aac93ff + 9bda655 commit 6bbb075
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Requirements for Linux:
#### Currently supported MySQL versions

- If using the system installed MySQL server: 8.0.20 and newer
- If not using the system installed MySQL server: 8.0.39, 8.1.0, 8.2.0, 8.3.0, 8.4.2, 9.0.1
- If not using the system installed MySQL server: 8.0.39, 8.0.40, 8.1.0, 8.2.0, 8.3.0, 8.4.2, 8.4.3, 9.0.1, 9.1.0

## Usage

Expand Down
105 changes: 105 additions & 0 deletions src/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,109 @@
[
{
"version": "9.1.0",
"arch": "arm64",
"os": "darwin",
"osKernelVersionsSupported": ">=22",
"url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-macos14-arm64.tar.gz"
},
{
"version": "9.1.0",
"arch": "x64",
"os": "darwin",
"osKernelVersionsSupported": ">=22",
"url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-macos14-x86_64.tar.gz"
},
{
"version": "9.1.0",
"arch": "x64",
"os": "linux",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-linux-glibc2.17-x86_64-minimal.tar.xz"
},
{
"version": "9.1.0",
"arch": "arm64",
"os": "linux",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-linux-glibc2.17-aarch64-minimal.tar.xz"
},
{
"version": "9.1.0",
"arch": "x64",
"os": "win32",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-9.1/mysql-9.1.0-winx64.zip"
},
{
"version": "8.4.3",
"arch": "arm64",
"os": "darwin",
"osKernelVersionsSupported": ">=22",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-macos14-arm64.tar.gz"
},
{
"version": "8.4.3",
"arch": "x64",
"os": "darwin",
"osKernelVersionsSupported": ">=22",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-macos14-x86_64.tar.gz"
},
{
"version": "8.4.3",
"arch": "x64",
"os": "linux",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-linux-glibc2.17-x86_64-minimal.tar.xz"
},
{
"version": "8.4.3",
"arch": "arm64",
"os": "linux",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-linux-glibc2.17-aarch64-minimal.tar.xz"
},
{
"version": "8.4.3",
"arch": "x64",
"os": "win32",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.4/mysql-8.4.3-winx64.zip"
},
{
"version": "8.0.40",
"arch": "arm64",
"os": "darwin",
"osKernelVersionsSupported": ">=22",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-macos14-arm64.tar.gz"
},
{
"version": "8.0.40",
"arch": "x64",
"os": "darwin",
"osKernelVersionsSupported": ">=22",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-macos14-x86_64.tar.gz"
},
{
"version": "8.0.40",
"arch": "x64",
"os": "linux",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-linux-glibc2.17-x86_64-minimal.tar.xz"
},
{
"version": "8.0.40",
"arch": "arm64",
"os": "linux",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-linux-glibc2.17-aarch64-minimal.tar.xz"
},
{
"version": "8.0.40",
"arch": "x64",
"os": "win32",
"osKernelVersionsSupported": "*",
"url": "https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.40-winx64.zip"
},
{
"version": "9.0.1",
"arch": "arm64",
Expand Down
4 changes: 2 additions & 2 deletions tests/versions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { randomUUID } from 'crypto';
import { ServerOptions } from '../types';
import { normalize } from 'path';

const versions = ['9.0.1', '8.4.2', '8.0.39', '8.1.0', '8.2.0', '8.3.0']
const usernames = ['root', 'dbuser', 'admin']
const versions = ['8.0.39', '8.0.40', '8.1.0', '8.2.0', '8.3.0', '8.4.2', '8.4.3', '9.0.1', '9.1.0']
const usernames = ['root', 'dbuser']

const GitHubActionsTempFolder = process.platform === 'win32' ? 'C:\\Users\\RUNNER~1\\mysqlmsn' : '/tmp/mysqlmsn'
const dbPath = normalize(GitHubActionsTempFolder + '/dbs')
Expand Down

0 comments on commit 6bbb075

Please sign in to comment.