File tree 3 files changed +103
-6
lines changed
3 files changed +103
-6
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,15 @@ cd dbdb
51
51
52
52
### Supported MySQL Versions
53
53
54
- - 5.7.31 x86_64
55
- - 8.0.23 x86_64
56
- - 8.0.30 x86_64
57
- - 8.0.41 arm64
58
- - 8.4.4 arm64
59
- - 9.2.0 arm64
54
+ - x86_64
55
+ - 5.7.31 (x86_64)
56
+ - 8.0.23 (x86_64)
57
+ - 8.0.30 (x86_64)
58
+ - arm64
59
+ - 8.0.28 (arm64)
60
+ - 8.0.41 (arm64)
61
+ - 8.4.4 (arm64)
62
+ - 9.2.0 (arm64)
60
63
61
64
</div ></details >
62
65
Original file line number Diff line number Diff line change
1
+ ``` bash
2
+ # MySQL
3
+
4
+ # - macOS ARM
5
+ # - https://dev.mysql.com/downloads/mysql/
6
+ # - Select `macOS`
7
+ # - Select `macOS 15 (ARM, 64-bit)`
8
+ # - Select `Compressed TAR Archive`
9
+ # - e.g.
10
+
11
+ # # 8.0.28
12
+ major=8
13
+ minor=0
14
+ patch=28
15
+ osVer=macos11
16
+ version=$major .$minor .$patch
17
+ url=https://dev.mysql.com/get/Downloads/MySQL-$major .$minor /mysql-$version -$osVer -arm64.tar.gz
18
+ wget -O mysql-$version -macos.tar.gz " $url "
19
+
20
+ # # 8.0.40
21
+ major=8
22
+ minor=0
23
+ patch=40
24
+ osVer=macos15
25
+ version=$major .$minor .$patch
26
+ url=https://dev.mysql.com/get/Downloads/MySQL-$major .$minor /mysql-$version -$osVer -arm64.tar.gz
27
+ wget -O mysql-$version -macos.tar.gz " $url "
28
+ # # 8.4.4
29
+ major=8
30
+ minor=4
31
+ patch=4
32
+ osVer=macos15
33
+ version=$major .$minor .$patch
34
+ url=https://dev.mysql.com/get/Downloads/MySQL-$major .$minor /mysql-$version -$osVer -arm64.tar.gz
35
+ wget -O mysql-$version -macos.tar.gz " $url "
36
+ # # 9.2.0
37
+ major=9
38
+ minor=2
39
+ patch=0
40
+ osVer=macos15
41
+ version=$major .$minor .$patch
42
+ url=https://dev.mysql.com/get/Downloads/MySQL-$major .$minor /mysql-$version -$osVer -arm64.tar.gz
43
+ wget -O mysql-$version -macos.tar.gz " $url "
44
+ ```
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eu
3
+
4
+ . ../lib/functions.sh
5
+
6
+ type=mysql
7
+ version=8.0.28
8
+
9
+ cd ../$type /..
10
+
11
+ date=$( date +%Y%m%d%H%M%S)
12
+ md5=" md5"
13
+ [ " $( getOS) " = " linux" ] && md5=" md5sum"
14
+ hash=$( echo " dbdb-$date " | $md5 | cut -d ' ' -f 1)
15
+
16
+ echo " # Test create"
17
+ ./$type /create.sh dbdb-test-$hash $version random
18
+ echo " # Test port"
19
+ ./$type /port.sh dbdb-test-$hash
20
+ echo " # Test start"
21
+ ./$type /start.sh dbdb-test-$hash
22
+ echo " # Test status"
23
+ ./$type /status.sh dbdb-test-$hash
24
+ echo " # Test restart"
25
+ ./$type /restart.sh dbdb-test-$hash
26
+ echo " # Test stop"
27
+ ./$type /stop.sh dbdb-test-$hash
28
+ echo " # Test delete"
29
+ ./$type /delete.sh dbdb-test-$hash
30
+
31
+ echo " # Test create"
32
+ ./$type /create.sh -f json dbdb-test-$hash $version random | jq
33
+ echo " # Test port"
34
+ ./$type /port.sh -f json dbdb-test-$hash | jq
35
+ echo " # Test start"
36
+ ./$type /start.sh -f json dbdb-test-$hash | jq
37
+ echo " # Test status"
38
+ ./$type /status.sh -f json dbdb-test-$hash | jq
39
+ echo " # Test restart"
40
+ ./$type /restart.sh -f json dbdb-test-$hash | jq
41
+ echo " # Test stop"
42
+ ./$type /stop.sh -f json dbdb-test-$hash | jq
43
+ echo " # Test delete"
44
+ ./$type /delete.sh -f json dbdb-test-$hash | jq
45
+
46
+ ./dbdb.sh
47
+ ./$type /create-start.sh -f json dbdb-test-$hash $version random | jq
48
+ ./dbdb.sh -f json | jq
49
+ ./$type /delete.sh dbdb-test-$hash
50
+ ./dbdb.sh
You can’t perform that action at this time.
0 commit comments