Connection Options
Connection options include a database, host, port, credentials, and a few other
meta-type options. Take a look at the
ConnectionOptions
documentation for complete details. By convention, connection options are
usually placed in a connections.json
file at the root of your project.
Here’s an example connections.json
file.
{
"host": "127.0.0.1",
"user": "formn-user",
"password": "formn-password",
"database": "formn_test_db",
"port": 3306,
"poolSize": 10
}
The above JSON object was taken from the formn-example repository. See connections.json.