mysql-memory-server 1.17.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,9 +15,9 @@ Download with your package manager of choice. The package name is `mysql-memory-
15
15
  #### Currently supported MySQL versions
16
16
 
17
17
  - ```mysql-memory-server``` can run MySQL versions 5.7.19 and newer (if the version is already installed on your system)
18
- - ```mysql-memory-server``` can download and run MySQL versions (inclusive) 5.7.19 - 5.7.44, 8.0.0 - 8.0.46, 8.1.0 - 8.4.11, 9.0.1 - 9.7.2, and 26.7.0 (if the version is not already installed on your system)
18
+ - ```mysql-memory-server``` can download and run MySQL versions (inclusive) 5.7.19 - 5.7.44, 8.0.0 - 8.0.46, 8.1.0 - 8.4.13, 9.0.1 - 9.7.4, and 26.7.0 - 26.10.0 (if the version is not already installed on your system)
19
19
 
20
- Extra system requirements apply when ```mysql-memory-server``` is downloading MySQL instead of running a version of MySQL that is already installed on the system. To see the requirements and learn more about the supported versions for download, [read the doc](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md)
20
+ Extra system requirements apply when ```mysql-memory-server``` is downloading MySQL instead of running a version of MySQL that is already installed on the system. To see the requirements and learn more about the supported versions for download, [read the doc](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md)
21
21
 
22
22
  ## Example Usage - Application Code
23
23
 
@@ -102,11 +102,11 @@ Description: Version of MySQL to use for the database. Uses semver for getting t
102
102
 
103
103
  If left undefined:
104
104
  - If the system has MySQL installed, the system-installed version will be used. If the installed version is not supported by this package (currently <5.7.19), an error will be thrown unless `ignoreUnsupportedSystemVersion` is set to `true`.
105
- - If the system does not have MySQL installed, the latest version of MySQL that [this package supports downloading](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md) will be downloaded.
105
+ - If the system does not have MySQL installed, the latest version of MySQL that [this package supports downloading](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md) will be downloaded.
106
106
 
107
107
  If defined:
108
108
  - If the version is older than 5.7.19, an error will be thrown as this package does not currently support those versions of MySQL.
109
- - If the desired version of MySQL is already installed on the system, the installed version will be used. Otherwise the selected version will be downloaded as long as this package [supports downloading it](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md). If this package does not support downloading the selected version, or your system does not [meet the requirements](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md) for that version to be ran, an error will be thrown.
109
+ - If the desired version of MySQL is already installed on the system, the installed version will be used. Otherwise the selected version will be downloaded as long as this package [supports downloading it](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md). If this package does not support downloading the selected version, or your system does not [meet the requirements](https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md) for that version to be ran, an error will be thrown.
110
110
 
111
111
  - `dbName: string`
112
112
 
@@ -15,18 +15,18 @@ export declare const OPTION_TYPE_CHECKS: OptionTypeChecks;
15
15
  export declare const MIN_SUPPORTED_MYSQL = "5.7.19";
16
16
  export declare const MySQLCDNDownloadsBaseURL = "https://cdn.mysql.com//Downloads/MySQL-";
17
17
  export declare const MySQLCDNArchivesBaseURL = "https://cdn.mysql.com/archives/mysql-";
18
- export declare const DOWNLOADABLE_MYSQL_VERSIONS: readonly ['5.7.19', '5.7.20', '5.7.21', '5.7.22', '5.7.23', '5.7.24', '5.7.25', '5.7.26', '5.7.27', '5.7.28', '5.7.29', '5.7.30', '5.7.31', '5.7.32', '5.7.33', '5.7.34', '5.7.35', '5.7.36', '5.7.37', '5.7.38', '5.7.39', '5.7.40', '5.7.41', '5.7.42', '5.7.43', '5.7.44', '8.0.0', '8.0.1', '8.0.2', '8.0.3', '8.0.4', '8.0.11', '8.0.12', '8.0.13', '8.0.14', '8.0.15', '8.0.16', '8.0.17', '8.0.18', '8.0.19', '8.0.20', '8.0.21', '8.0.22', '8.0.23', '8.0.24', '8.0.25', '8.0.26', '8.0.27', '8.0.28', '8.0.30', '8.0.31', '8.0.32', '8.0.33', '8.0.34', '8.0.35', '8.0.36', '8.0.37', '8.0.39', '8.0.40', '8.0.41', '8.0.42', '8.0.43', '8.0.44', '8.0.45', '8.0.46', '8.1.0', '8.2.0', '8.3.0', '8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6', '8.4.7', '8.4.8', '8.4.9', '8.4.10', '8.4.11', '9.0.1', '9.1.0', '9.2.0', '9.3.0', '9.4.0', '9.5.0', '9.6.0', '9.7.0', '9.7.1', '9.7.2', '26.7.0'];
18
+ export declare const DOWNLOADABLE_MYSQL_VERSIONS: readonly ['5.7.19', '5.7.20', '5.7.21', '5.7.22', '5.7.23', '5.7.24', '5.7.25', '5.7.26', '5.7.27', '5.7.28', '5.7.29', '5.7.30', '5.7.31', '5.7.32', '5.7.33', '5.7.34', '5.7.35', '5.7.36', '5.7.37', '5.7.38', '5.7.39', '5.7.40', '5.7.41', '5.7.42', '5.7.43', '5.7.44', '8.0.0', '8.0.1', '8.0.2', '8.0.3', '8.0.4', '8.0.11', '8.0.12', '8.0.13', '8.0.14', '8.0.15', '8.0.16', '8.0.17', '8.0.18', '8.0.19', '8.0.20', '8.0.21', '8.0.22', '8.0.23', '8.0.24', '8.0.25', '8.0.26', '8.0.27', '8.0.28', '8.0.30', '8.0.31', '8.0.32', '8.0.33', '8.0.34', '8.0.35', '8.0.36', '8.0.37', '8.0.39', '8.0.40', '8.0.41', '8.0.42', '8.0.43', '8.0.44', '8.0.45', '8.0.46', '8.1.0', '8.2.0', '8.3.0', '8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6', '8.4.7', '8.4.8', '8.4.9', '8.4.10', '8.4.11', '8.4.13', '9.0.1', '9.1.0', '9.2.0', '9.3.0', '9.4.0', '9.5.0', '9.6.0', '9.7.0', '9.7.1', '9.7.2', '9.7.4', '26.7.0', '26.10.0'];
19
19
  export declare const MYSQL_ARCH_SUPPORT: {
20
20
  readonly darwin: {
21
- readonly arm64: '8.0.26 - 26.7.0';
22
- readonly x64: '5.7.19 - 26.7.0';
21
+ readonly arm64: '8.0.26 - 26.10.0';
22
+ readonly x64: '5.7.19 - 8.4.11 || 9.0.1 - 26.7.0';
23
23
  };
24
24
  readonly linux: {
25
- readonly arm64: '8.0.31 - 26.7.0';
26
- readonly x64: '5.7.19 - 26.7.0';
25
+ readonly arm64: '8.0.31 - 26.10.0';
26
+ readonly x64: '5.7.19 - 26.10.0';
27
27
  };
28
28
  readonly win32: {
29
- readonly x64: '5.7.19 - 26.7.0';
29
+ readonly x64: '5.7.19 - 26.10.0';
30
30
  readonly arm64: '0.0.0';
31
31
  };
32
32
  };
@@ -46,7 +46,7 @@ export declare const MYSQL_MIN_OS_SUPPORT: {
46
46
  readonly '8.0.28 - 8.0.31': '20.0.0';
47
47
  readonly '8.0.32 - 8.0.34': '21.0.0';
48
48
  readonly '8.0.35 - 8.0.39 || 8.1.0 - 8.4.2 || 9.0.1': '22.0.0';
49
- readonly '8.0.40 - 8.0.46 || 8.4.3 - 8.4.11 || 9.1.0 - 9.7.2 || 26.7.0': '23.0.0';
49
+ readonly '8.0.40 - 8.0.46 || 8.4.3 - 8.4.13 || 9.1.0 - 9.7.4 || 26.7.0 - 26.10.0': '23.0.0';
50
50
  };
51
51
  };
52
52
  export declare const DMR_MYSQL_VERSIONS = "8.0.0 - 8.0.2";
@@ -61,34 +61,34 @@ export declare const MYSQL_MACOS_VERSIONS_IN_FILENAME: {
61
61
  readonly '8.0.30 - 8.0.31': 'macos12';
62
62
  readonly '8.0.32 - 8.0.35 || 8.1.0 - 8.2.0': 'macos13';
63
63
  readonly '8.0.36 - 8.0.40 || 8.3.0 - 8.4.3 || 9.0.1 - 9.1.0': 'macos14';
64
- readonly '8.0.41 - 8.0.46 || 8.4.4 - 8.4.11 || 9.2.0 - 9.7.2 || 26.7.0': 'macos15';
64
+ readonly '8.0.41 - 8.0.46 || 8.4.4 - 8.4.13 || 9.2.0 - 9.7.4 || 26.7.0 - 26.10.0': 'macos15';
65
65
  };
66
66
  export declare const MYSQL_LINUX_GLIBC_VERSIONS: {
67
67
  readonly x64: {
68
68
  readonly '5.7.19 - 8.0.20': '2.12';
69
69
  readonly '8.0.21 - 8.4.10 || 9.0.1 - 9.5.0': '2.17';
70
- readonly '8.4.11 || 9.6.0 - 9.7.2 || 26.7.0': '2.28';
70
+ readonly '8.4.11 - 8.4.13 || 9.6.0 - 9.7.4 || 26.7.0 - 26.10.0': '2.28';
71
71
  };
72
72
  readonly arm64: {
73
73
  readonly '5.7.19 - 8.0.20': '2.12';
74
74
  readonly '8.0.21 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0': '2.17';
75
- readonly '8.0.42 - 8.0.46 || 8.4.5 - 8.4.11 || 9.3.0 - 9.7.2 || 26.7.0': '2.28';
75
+ readonly '8.0.42 - 8.0.46 || 8.4.5 - 8.4.13 || 9.3.0 - 9.7.4 || 26.7.0 - 26.10.0': '2.28';
76
76
  };
77
77
  };
78
78
  export declare const MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE: {
79
79
  readonly '5.7.19 - 8.0.15': 'no';
80
80
  readonly '8.0.16 - 8.0.20': 'no-glibc-tag';
81
- readonly '8.0.21 - 26.7.0': 'glibc-tag';
81
+ readonly '8.0.21 - 26.10.0': 'glibc-tag';
82
82
  };
83
83
  export declare const MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE_ARM64 = "8.0.33 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0";
84
84
  export declare const MYSQL_LINUX_FILE_EXTENSIONS: {
85
85
  readonly x64: {
86
86
  readonly '5.7.19 - 8.0.11': 'gz';
87
- readonly '8.0.12 - 26.7.0': 'xz';
87
+ readonly '8.0.12 - 26.10.0': 'xz';
88
88
  };
89
89
  readonly arm64: {
90
90
  readonly '8.0.31 - 8.0.32': 'gz';
91
- readonly '8.0.33 - 26.7.0': 'xz';
91
+ readonly '8.0.33 - 26.10.0': 'xz';
92
92
  };
93
93
  };
94
94
  export declare const MYSQL_LINUX_MINIMAL_REBUILD_VERSIONS = "8.0.26";
@@ -123,27 +123,28 @@ exports.MIN_SUPPORTED_MYSQL = '5.7.19';
123
123
  exports.MySQLCDNDownloadsBaseURL = 'https://cdn.mysql.com//Downloads/MySQL-';
124
124
  exports.MySQLCDNArchivesBaseURL = 'https://cdn.mysql.com/archives/mysql-';
125
125
  // Versions 8.0.29, 8.0.38, 8.4.1, and 9.0.0 have been purposefully left out of this list as MySQL has removed them from the CDN due to critical issues.
126
+ // Versions 8.4.12 and 9.7.3 have been purposefully left out of this list as these were releases only made for Docker images. No standalone binaries for these versions are available.
126
127
  exports.DOWNLOADABLE_MYSQL_VERSIONS = [
127
128
  '5.7.19', '5.7.20', '5.7.21', '5.7.22', '5.7.23', '5.7.24', '5.7.25', '5.7.26', '5.7.27', '5.7.28', '5.7.29', '5.7.30', '5.7.31', '5.7.32', '5.7.33', '5.7.34', '5.7.35', '5.7.36', '5.7.37', '5.7.38', '5.7.39', '5.7.40', '5.7.41', '5.7.42', '5.7.43', '5.7.44',
128
129
  '8.0.0', '8.0.1', '8.0.2', '8.0.3', '8.0.4',
129
130
  '8.0.11', '8.0.12', '8.0.13', '8.0.14', '8.0.15', '8.0.16', '8.0.17', '8.0.18', '8.0.19', '8.0.20', '8.0.21', '8.0.22', '8.0.23', '8.0.24', '8.0.25', '8.0.26', '8.0.27', '8.0.28', '8.0.30', '8.0.31', '8.0.32', '8.0.33', '8.0.34', '8.0.35', '8.0.36', '8.0.37', '8.0.39', '8.0.40', '8.0.41', '8.0.42', '8.0.43', '8.0.44', '8.0.45', '8.0.46',
130
131
  '8.1.0', '8.2.0', '8.3.0',
131
- '8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6', '8.4.7', '8.4.8', '8.4.9', '8.4.10', '8.4.11',
132
+ '8.4.0', '8.4.2', '8.4.3', '8.4.4', '8.4.5', '8.4.6', '8.4.7', '8.4.8', '8.4.9', '8.4.10', '8.4.11', '8.4.13',
132
133
  '9.0.1', '9.1.0', '9.2.0', '9.3.0', '9.4.0', '9.5.0', '9.6.0',
133
- '9.7.0', '9.7.1', '9.7.2',
134
- '26.7.0'
134
+ '9.7.0', '9.7.1', '9.7.2', '9.7.4',
135
+ '26.7.0', '26.10.0'
135
136
  ];
136
137
  exports.MYSQL_ARCH_SUPPORT = {
137
138
  darwin: {
138
- arm64: '8.0.26 - 26.7.0',
139
- x64: '5.7.19 - 26.7.0'
139
+ arm64: '8.0.26 - 26.10.0',
140
+ x64: '5.7.19 - 8.4.11 || 9.0.1 - 26.7.0'
140
141
  },
141
142
  linux: {
142
- arm64: '8.0.31 - 26.7.0',
143
- x64: '5.7.19 - 26.7.0'
143
+ arm64: '8.0.31 - 26.10.0',
144
+ x64: '5.7.19 - 26.10.0'
144
145
  },
145
146
  win32: {
146
- x64: '5.7.19 - 26.7.0',
147
+ x64: '5.7.19 - 26.10.0',
147
148
  arm64: '0.0.0' // There aren't any arm64 MySQL binaries for Windows on ARM provided by Oracle. As a result, this is set to 0.0.0 to indicate no support for arm64 on win32.
148
149
  }
149
150
  };
@@ -164,7 +165,7 @@ exports.MYSQL_MIN_OS_SUPPORT = {
164
165
  '8.0.28 - 8.0.31': '20.0.0',
165
166
  '8.0.32 - 8.0.34': '21.0.0',
166
167
  '8.0.35 - 8.0.39 || 8.1.0 - 8.4.2 || 9.0.1': '22.0.0',
167
- '8.0.40 - 8.0.46 || 8.4.3 - 8.4.11 || 9.1.0 - 9.7.2 || 26.7.0': '23.0.0'
168
+ '8.0.40 - 8.0.46 || 8.4.3 - 8.4.13 || 9.1.0 - 9.7.4 || 26.7.0 - 26.10.0': '23.0.0'
168
169
  }
169
170
  };
170
171
  exports.DMR_MYSQL_VERSIONS = '8.0.0 - 8.0.2';
@@ -179,7 +180,7 @@ exports.MYSQL_MACOS_VERSIONS_IN_FILENAME = {
179
180
  '8.0.30 - 8.0.31': 'macos12',
180
181
  '8.0.32 - 8.0.35 || 8.1.0 - 8.2.0': 'macos13',
181
182
  '8.0.36 - 8.0.40 || 8.3.0 - 8.4.3 || 9.0.1 - 9.1.0': 'macos14',
182
- '8.0.41 - 8.0.46 || 8.4.4 - 8.4.11 || 9.2.0 - 9.7.2 || 26.7.0': 'macos15'
183
+ '8.0.41 - 8.0.46 || 8.4.4 - 8.4.13 || 9.2.0 - 9.7.4 || 26.7.0 - 26.10.0': 'macos15'
183
184
  };
184
185
  exports.MYSQL_LINUX_GLIBC_VERSIONS = {
185
186
  //8.0.42 - 8.0.43, 8.4.5 - 8.4.6, and 9.3.0 - 9.4.0 with glibc 2.28 does NOT have a minimal install version for x64 but it DOES have arm64 support.
@@ -189,28 +190,28 @@ exports.MYSQL_LINUX_GLIBC_VERSIONS = {
189
190
  x64: {
190
191
  '5.7.19 - 8.0.20': '2.12',
191
192
  '8.0.21 - 8.4.10 || 9.0.1 - 9.5.0': '2.17',
192
- '8.4.11 || 9.6.0 - 9.7.2 || 26.7.0': '2.28'
193
+ '8.4.11 - 8.4.13 || 9.6.0 - 9.7.4 || 26.7.0 - 26.10.0': '2.28'
193
194
  },
194
195
  arm64: {
195
196
  '5.7.19 - 8.0.20': '2.12',
196
197
  '8.0.21 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0': '2.17',
197
- '8.0.42 - 8.0.46 || 8.4.5 - 8.4.11 || 9.3.0 - 9.7.2 || 26.7.0': '2.28'
198
+ '8.0.42 - 8.0.46 || 8.4.5 - 8.4.13 || 9.3.0 - 9.7.4 || 26.7.0 - 26.10.0': '2.28'
198
199
  }
199
200
  };
200
201
  exports.MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE = {
201
202
  '5.7.19 - 8.0.15': 'no',
202
203
  '8.0.16 - 8.0.20': 'no-glibc-tag',
203
- '8.0.21 - 26.7.0': 'glibc-tag'
204
+ '8.0.21 - 26.10.0': 'glibc-tag'
204
205
  };
205
206
  exports.MYSQL_LINUX_MINIMAL_INSTALL_AVAILABLE_ARM64 = '8.0.33 - 8.0.41 || 8.1.0 - 8.4.4 || 9.0.1 - 9.2.0'; //Not available for < 8.0.33 and >=8.0.42 <8.1.0, >=8.4.5 <8.5, and >=9.3.0 <10.0.0
206
207
  exports.MYSQL_LINUX_FILE_EXTENSIONS = {
207
208
  x64: {
208
209
  '5.7.19 - 8.0.11': 'gz',
209
- '8.0.12 - 26.7.0': 'xz'
210
+ '8.0.12 - 26.10.0': 'xz'
210
211
  },
211
212
  arm64: {
212
213
  '8.0.31 - 8.0.32': 'gz',
213
- '8.0.33 - 26.7.0': 'xz'
214
+ '8.0.33 - 26.10.0': 'xz'
214
215
  }
215
216
  };
216
217
  exports.MYSQL_LINUX_MINIMAL_REBUILD_VERSIONS = '8.0.26';
@@ -363,7 +363,7 @@ _Executor_instances = new WeakSet(), _Executor_executeFile = function _Executor_
363
363
  if (code) {
364
364
  let errorMessage = '';
365
365
  if (os.platform() === 'win32' && code === 3221225781) {
366
- errorMessage = `The MySQL database exited early with code 3221225781. A possible cause is that the Microsoft Visual C++ Redistributable Package is not installed. Please refer to the following link for this package's requirements on your system - this may help solve this error: https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies. If you are sure you have this installed, check the following for more details: The error log was:\n${errorLog}\nThe error string was: "${errorString}".`;
366
+ errorMessage = `The MySQL database exited early with code 3221225781. A possible cause is that the Microsoft Visual C++ Redistributable Package is not installed. Please refer to the following link for this package's requirements on your system - this may help solve this error: https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies. If you are sure you have this installed, check the following for more details: The error log was:\n${errorLog}\nThe error string was: "${errorString}".`;
367
367
  }
368
368
  else {
369
369
  errorMessage = `The database exited early with code ${code}. The error log was:\n${errorLog}\nThe error string was: "${errorString}".`;
@@ -467,7 +467,7 @@ _Executor_instances = new WeakSet(), _Executor_executeFile = function _Executor_
467
467
  throw 'Tried to copy libaio into lib folder and MySQL is still failing to initialize. Please check the console for more information.';
468
468
  }
469
469
  if (binary.installedOnSystem) {
470
- throw 'libaio could not be found while running system-installed MySQL. libaio must be installed on this system for MySQL to run. To learn more, please check out https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies';
470
+ throw 'libaio could not be found while running system-installed MySQL. libaio must be installed on this system for MySQL to run. To learn more, please check out https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies';
471
471
  }
472
472
  // If the below code is running, the version of MySQL that is trying to be executed was downloaded from the CDN by this package and libaio has not yet been attempted to be copied
473
473
  if (LinuxOSRelease_1.default.NAME === 'Ubuntu' && typeof LinuxOSRelease_1.default.VERSION_ID === 'string' && LinuxOSRelease_1.default.VERSION_ID >= '24.04') {
@@ -475,13 +475,13 @@ _Executor_instances = new WeakSet(), _Executor_executeFile = function _Executor_
475
475
  if (lderror || ldstderr) {
476
476
  this.logger.error('The following libaio error occurred:', stderr);
477
477
  this.logger.error('After the libaio error, an ldconfig error occurred:', lderror || ldstderr);
478
- throw 'The ldconfig command failed to run. This command was ran to find libaio1t64 because libaio1t64 could not be found on the system. libaio1t64 is needed for MySQL to run. Do you have ldconfig and libaio1t64 installed? Learn more at https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies';
478
+ throw 'The ldconfig command failed to run. This command was ran to find libaio1t64 because libaio1t64 could not be found on the system. libaio1t64 is needed for MySQL to run. Do you have ldconfig and libaio1t64 installed? Learn more at https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies';
479
479
  }
480
480
  const libaioFound = stdout.split('\n').filter(lib => lib.includes('libaio.so.1t64'));
481
481
  if (!libaioFound.length) {
482
482
  this.logger.error('Error from launching MySQL:', stderr);
483
483
  this.logger.error('Could not find libaio1t64 in this list:', libaioFound);
484
- throw 'An error occurred while launching MySQL because libaio1t64 is not installed on your system. Please install libaio1t64 and then use mysql-memory-server again. To learn more, please check out https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies. Check error in console for more information.';
484
+ throw 'An error occurred while launching MySQL because libaio1t64 is not installed on your system. Please install libaio1t64 and then use mysql-memory-server again. To learn more, please check out https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies. Check error in console for more information.';
485
485
  }
486
486
  const libaioEntry = libaioFound[0];
487
487
  const libaioPathIndex = libaioEntry.indexOf('=>');
@@ -555,7 +555,7 @@ _Executor_instances = new WeakSet(), _Executor_executeFile = function _Executor_
555
555
  await __classPrivateFieldGet(this, _Executor_instances, "m", _Executor_setupDataDirectories).call(this, options, binary, datadir, false);
556
556
  return;
557
557
  }
558
- throw 'You do not have libaio1 installed. Please install the libaio1 package for the downloaded MySQL binary to run. Learn more here: https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.17.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies';
558
+ throw 'You do not have libaio1 installed. Please install the libaio1 package for the downloaded MySQL binary to run. Learn more here: https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/blob/v1.18.0/docs/SUPPORTED_MYSQL_DOWNLOADS.md#required-dependencies';
559
559
  }
560
560
  throw stderr;
561
561
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mysql-memory-server",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "description": "Spin up an ephemeral MySQL database from your JavaScript code",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -27,11 +27,11 @@
27
27
  "author": "Sebastian-Webster",
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
- "@types/node": "^26.6.4",
30
+ "@types/node": "^26.6.5",
31
31
  "@types/semver": "^7.8.0",
32
32
  "@types/unzipper": "^0.10.11",
33
33
  "jest": "^30.5.2",
34
- "mysql2": "^3.24.5",
34
+ "mysql2": "^3.24.6",
35
35
  "typescript": "^7.0.2"
36
36
  },
37
37
  "dependencies": {