How Can I Create an HVR Repository Database for MariaDB Using the CLI?
Question
To create HVR repository databases for Oracle or MySQL, I run the following commands:
hvrhubserverconfig Repository_Class=Oracle
hvrhubserverconfig Repository_Class=MySQL
However, when I set Repository_Class
to MariaDB
, the command fails with the following errors:
F_JD2239: Unknown DBMS class 'mariadb' encountered.
F_JR2D17: Value 'mariadb' not allowed for the HubServer property Repository_Class
How can I create an HVR repository database for a MariaDB system using the HVR command line interface (CLI)?
Environment
HVR hub repository database in MariaDB
Answer
To create a repository database for MariaDB, you must specify the following properties:
- Repository_Class: The database class
- Repository_Class_Flavor: The specific variant
In the CLI, set Repository_Class
to mysql
and Repository_Class_Flavor
to mariadb
. For example:
hvrhubserverconfig Repository_Class=mysql Repository_Class_Flavor=mariadb