Liferay 7 MariaDB database configuration

MariaDb database driver is included in the liferay 7 distribution. No additional download is necessary.

You can follow the steps below:

  1. create an empty database in MariaDB instance (e.g. lportal) with username “username” and password “password”
  2. in the [Liferay_home] folder create a file named with the followings lines:
  3. jdbc.default.driverClassName=org.mariadb.jdbc.Driver

Start liferay and see what has  been created in the database 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *