Configuring the Database
Liferay supports many databases, like MySQL, MariaDB, or PostgreSQL. By default, a Liferay bundle uses an embedded HSQL database appropriate for demo purposes. For production use, you must use a separate database. See configuring a database to learn more.
Running MariaDB in Docker
-
Run this command to download and run a MariaDB image automatically:
-
Sign into the database server.
-
Create a database to be used by the cluster.
-
Verify the creation of the database with the following command:
A list of databases appears, including the
dxp_db
database.
Next, you’ll configure Elasticsearch.