How Can I Create an DSS Repository Database for MariaDB Using the CLI?

Documentation: How Can I Create an DSS Repository Database for MariaDB Using the CLI?

How Can I Create an DSS Repository Database for MariaDB Using the CLI?

Question

To create DSS repository databases for Oracle or MySQL, I run the following commands:

  • dsshubserverconfig Repository_Class=Oracle
  • dsshubserverconfig 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 DSS repository database for a MariaDB system using the DSS command line interface (CLI)?

Environment

DSS hub repository database in MariaDB

Answer

To create a repository database for MariaDB, you must specify the following properties:

In the CLI, set Repository_Class to mysql and Repository_Class_Flavor to mariadb. For example:

dsshubserverconfig Repository_Class=mysql Repository_Class_Flavor=mariadb