🐬MySQL
When using the MySQL app driver, first you should configure your MySQL connection credentials as environment variables:
Name | Default | Possible values | Description |
---|---|---|---|
|
| Any string | The MySQL host. |
|
| Any integer | The MySQL port. |
|
| Any string | The MySQL username. |
|
| Any string | The MySQL password. |
|
| Any string | The MySQL database. |
This database supports database connection pooling.
Once you have configured your MySQL database credentials, you should create a table with the following structure:
Environment Variables
The following environment variables are used to define the behavior of the MySQL app driver:
Name | Default | Possible values | Description |
---|---|---|---|
|
| Any string | The table to pull the app data from. |
|
| Any string | The MySQL version (utilized by the underlying Knex database abstraction layer). |
|
|
| soketi 0.14+. If you're using MySQL 8.0+ and experience authentication issues, you may enable this option. |
Limits on an app-by-app basis
To enforce app-level limits in MySQL, there are multiple fields:
Setting any of them to null
or ''
will ignore the setting, and use the limits associated with the server-level declared defaults.
Last updated