Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below are the steps to use MySQL, MariaDB or PostgreSQL, as well as Docker instructions if you choose to run your database in a Docker container.

For the full list of database properties, please refer to the Database section of the Properties documentation.

Table of Contents

Native Database Setup

...

In order for Fedora to connect with a database configured as above, the Fedora should be started with the following system properties:

No Format
-Dfcrepofcrepo.db.url=jdbc:mariadb://localhost:3306/fcrepo 
-Dfcrepofcrepo.db.user=fcrepo-user 
-Dfcrepofcrepo.db.password=fcrepo-pw

PostgreSQL

...

In order for Fedora to connect with a database configured as above, the Fedora should be started with the following system properties:

No Format
-Dfcrepofcrepo.db.url=jdbc:postgresql://localhost:5432/fcrepo 
-Dfcrepofcrepo.db.user=fcrepo-user 
-Dfcrepofcrepo.db.password=fcrepo-pw

MySQL

...

In order for Fedora to connect with a database configured as above, the Fedora should be started with the following system properties:

No Format
-Dfcrepofcrepo.db.url=jdbc:mysql://localhost:3306/fcrepo 
-Dfcrepofcrepo.db.user=fcrepo-user 
-Dfcrepofcrepo.db.password=fcrepo-pw