The content migration tool is an interesting feature that Liferay provides as an out-of the-box core implementation. As you know, Liferay gives administrators a choice to select one of the database engines, such as MySQL, PostgreSQL, Oracle, and so on. It allows users to change the database engine without losing data.
Let's assume that our Liferay instance uses the PostgreSQL database, and we want to change it to MySQL engine.
In order to migrate our content, we need to create a new MySQL database. To achieve it log in to your database:
mysql -u {USER} -p
Then, create a new database using the following command:
CREATE DATABASE lportal DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;