The essential
After the installation, a Phraseanet base is available in the application in order to receive media. However, for some reason, it might be necessary to add an other. How to create a new Phraseanet base?
This first step is done outside Phraseanet.
See also
Note
This database can be created on the same database server of the Application box (the applicative base of Phraseanet) or in a remote database server.
Warning
In these two cases, ask that the Phraseanet application can access the database with sufficient rights level, depending on the deployment context.
In Admin, click on the Databases item.
Fill the Create new database form
If the created database is on the same server than the Application box, enter the name of the base then choose one of the documentary structure in the XML structure template drop-down menu .
If the created database in on an other server than the Application box, check the Create a base on another server box then fill the connection settings.
Choose one of the suggested documentary structures in the drop-down menu XML structure template.
Send the form
The script automates the creation of the required tables in the database management system.
After this creation process, the structure of the database can be set.
See also
Refer to the Phraseanet base setting section.
It is required to create at least one collection to publish media in the created databox.
Mount database form is aimed to publish an existing Databox on a Phraseanet instance.
The Databox (the MariaDB / MySQL database) can be on local or distant host and the Phraseanet application is supposed to access this database with sufficient rights level, depending on the deployment context.
Fill the Mount database form:
Warning
In a multi-database configuration, the fields with the same label must have strictly the same definitions (same types, same formats, etc.)
To create ElasticSearch index:
php bin/console searchengine:index