Using an XXS license, the only available database connection will be the document internal one.
You can refer to the following technote, which explains how to use the same.
Having an XS or higher edition, you’ll still be able to use this type of database connection, but you’ll require different steps to setup the same.
Please refer to the following technote, which explains how to do it.