MariaDb database driver is included in the liferay 7 distribution. No additional download is necessary.
You can follow the steps below:
- create an empty database in MariaDB instance (e.g. lportal) with username “username” and password “password”
- in the [Liferay_home] folder create a file named portal-ext.properties with the followings lines:
-
jdbc.default.driverClassName=org.mariadb.jdbc.Driver jdbc.default.url=jdbc:mariadb://localhost/liferay7ga3?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false jdbc.default.username=username jdbc.default.password=password
Start liferay and see what has been created in the database 🙂