devloop icon

connection setup

There are many ways of configuring the connection to the database, which one you should use mostly depends on how you use the framework.
Here are some of the most common ways of setting up the connection:

Then unless you are using the hardcoded option, you need to tell the framework which datasource to use.

Note: first make sure that the database that you intend to use is supported.