|
|||||||||||||||||||||||||||||||||
H2 Migration ToolVersion 9.3.3In the 9.3.3 version of XEServer product line, all H2 databases distributed with products were upgraded to version 2.2.224. This was done to address the vulnerability reported in CVE-2022-45868. Versions 9.2.4 to 9.3.2In the 9.2.4 version of XEServer product line, all H2 databases distributed with products were upgraded to version 2.1.210. This was done to address the vulnerabilities reported in CVE-2021-42392, CVE-2022-23221, CVE-2021-23463. If you are upgrading to any of the versions starting with 9.2.4, you have to migrate all the H2 databases created by previous versions of the XEServer line products. Below are some examples of such H2 databases:
For easy and smooth migration of H2 databases, use H2 Migration Tool that was specially designed for this task. The tool allows you to locate outdated H2 databases on your file system and upgrade their version from 1.4 and 2.2.224 including database content migration. Tool UsageYou can download the tool from the following locations:
After unzipping the tool package, the directory Edifecs H2 Migration Tool contains several .bat(.sh) scripts:
To use the tool, you should run any of the scripts above and the tool will prompt you to enter database credentials and optional additional parameters (if any). Additional parameters are H2-specific parameters typically specified in the H2 connection URL, for example FILE_LOCK={FILE|SOCKET|FS|NO}. Below you can view script usage examples that show how to locate and migrate outdated H2 databases. ![]() Copy
![]() Copy
![]() Copy
![]() Copy
![]() Copy
Database CredentialsTo access an H2 database, the tool needs a username and a password. When you run a tool script, the tool prompts you to enter credentials. By default, most of the H2 databases distributed with XEServer product line have the following credentials:
Tip You do not have to specify credentials when migrating ECL databases using Tool CLI ParametersBelow you can view parameters accepted by run.bat(.sh).
Logs and ReportsThe tool generates two types of reports: scan reports and migrate reports. A scan report lists all database files detected by the tool and indicates whether the database requires an upgrade. Copy
scanReportSample.csv
Tip You can feed a scan report to the tool as well - in this case the tool migrates the databases specified in the report. A migration report reflects the migration operation outcome. Copy
migrationReportSample.csv
Where
|