Skip to content

Connections

Learn how Database Connections work in Wappler and how to reuse them in Server Actions.

A database connection is the foundation for every Server Connect action that reads or writes data. In this tour, you will look at the connection setup details Wappler needs, understand how driver and credentials affect the target database, and see why this step comes before every query, insert, update, or delete workflow.

Create per target (Dev/Prod)
Reuse in Query/Insert/Update/Delete

Before you can query or modify data, configure a Database Connection for your project target(s). This stores credentials and makes the connection reusable in Server Actions.

Configure a connection per target
Use it across Server Actions

Make sure your Development and Production targets are configured. Connections are typically created per target.

Development vs Production targets
Keep credentials per environment

Once created, select the connection in Database Query/Insert/Update/Delete steps.

Select the connection in DB steps
Avoid duplicating credentials

Return to the Database Operations menu to continue with Queries, Insert, Update, Delete, or Paging.

Go back to Database Operations
Pick the next focused tour