Local Database Connection Bug

Seems local databases are only supported if the database connection is called 'db'. I am in the process of setting up local databases for my projects rather than working on live databases.

Seems that the local Wappler target only recognizes a connection called 'db'. I can replicate this on all of my projects. If the connection is called db it works, anything else it uses the live database connection. Maybe I am doing something wrong?

Screenshot 2026-11-24 at 6.32.56 PM

db connects to local database but Orangehost even though set up identical uses the remote database on the local Wappler server. I should also add that Wappler created the db connection on it's own somehow. I only had an OrangeHost connection.

All of these do not use the local database on local target. On top of that, the database manager does not work with database connections not named db.

There's no requirement for the database connection to be named db.

Select your local target, open the database connection settings, enter your local database details and save. Then switch to your remote target, open the same database connection, enter your remote database details and save again.

The database connection settings for each target are stored in the hidden .wappler folder in your project root:

.wappler/targets/<target_name>/databases/OrangeHost.json