Issue
-
It was observed that as soon as the Liferay portal starts creating tables and populating with default data (in the new PostgreSQL 15.2 database), the below error prevents it from doing so:
ERROR: no schema has been selected to create
Environment
- Liferay DXP 7.4
Resolution
- The error ("no schema has been selected to create") usually occurs when there are some permission-related issues with the database.
- Hence, connecting with the respective database team and providing the required permissions might help to resolve the issue.
Additional Information
- The below unofficial articles might give more insights into this:
On a side note: Please choose to follow unofficial articles at your own discretion as these threads are not the official documentation of Liferay.