Your project is not impossible, it's just a steep uphill climb. The only way to reliably connect the form to a remote DB, for any user, on Windows or Mac, and from Reader or Acrobat, is through a server script that handles the data transactions. A Mac user will not be able to use a DB connected form. Also, it only works for users on Windows. This DB connection will not work (or work reliably) for random users on the internet. It is possible to connect the form to a remote DB, but the user will need to have the correct DB drivers installed on thier own system. By local, I mean a DB on the user's file system. However, XFA forms will only connect to a local DB from Acrobat, not Reader. If you want to create XFA forms you will need to learn about XFA form design and the XFA Scripting model. The only forms technology that can talk directly to a DB is XFA. But both form types are displayed and used in Acrobat and Reader. You create AcroForms in Acrobat and XFA forms in LiveCycle.
![feed database info to a pdf template feed database info to a pdf template](https://db-excel.com/wp-content/uploads/2018/10/microsoft-access-customer-database-durun-ugrasgrup-to-free-excel-customer-database-template.jpg)
So you have two forms technologies AcroForm and XFA. To create an AcroForm you add form fields to a regular PDF using Acrobat Pro or Standard. There is also a traditional AcroForm model. XFA forms are a relatively new technology. LiveCycle is only a design tool for creating the form. So the user's only needs Acrobat or Reader, they do not need LiveCycle to use these forms. Both Acrobat and Adobe Reader know how to interact with XFA forms. LiveCycle Designer is a tool for creating a special type of PDF form, called an XFA form (or XML form).
![feed database info to a pdf template feed database info to a pdf template](https://d3i71xaburhd42.cloudfront.net/6d1c233393fa9064957a75043cee480ce6a36478/3-Figure2-1.png)
The first thing you need is some perspective.
![feed database info to a pdf template feed database info to a pdf template](https://docs.devart.com/images/data-pump/export-pdf-format.png)
Wow, you have got a few bumps to get over before you will be able implement anything close to what you are talking about doing.