ADPS requires MariaDB 5.5.68 or later. Alternatively, PostgreSQL 9 or later can be used.
The database server can be installed on the same host as Ranger.
When you use different hosts for the database server and Ranger, then Ranger service must have access to the database server.