Versions Compared

Key

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

...

No Format
docker run --name f6-mariadb -e MYSQL_ROOT_PASSWORD=root-pw -e MYSQL_DATABASE=fcrepo -e MYSQL_USER=fcrepo-user -e MYSQL_PASSWORD=fcrepo-pw -p 3306:3306 -d mariadb:10.5.3

..when done with the database:
docker stop f6-mariadb
docker rm f6-mariadb

MariaDB CLI Client

To connect via the command line with the above database, the following command may be used:

No Format
docker exec -it f6-mariadb mysql -ufcrepo-user -pfcrepo-pw -Dfcrepo

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

...

No Format
docker run --name f6-postgres -e POSTGRES_USER=fcrepo-user -e POSTGRES_PASSWORD=fcrepo-pw -e POSTGRES_DB=fcrepo -p 5432:5432 -d postgres:12.3

..when done with the database:
docker stop f6-postgres
docker rm f6-postgres

PostgreSQL CLI Client

To connect via the command line with the above database, the following command may be used:

No Format

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

...

No Format
docker run --name f6-mysql -e MYSQL_ROOT_PASSWORD=root-pw -e MYSQL_DATABASE=fcrepo -e MYSQL_USER=fcrepo-user -e MYSQL_PASSWORD=fcrepo-pw -p 3306:3306 -d mysql:8.0

..when done with the database:
docker stop f6-mysql
docker rm f6-mysql

MySQL CLI Client

To connect via the command line with the above database, the following command may be used:

No Format
docker exec -it f6-mysql mysql -ufcrepo-user -pfcrepo-pw -Dfcrepo

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

...