- Name: MariaDB
- Category: Database
Configuration
Configu needs to be authorized to access your MariaDB database. Configu utilizes TypeORM under the hood to establish a connection with the database using data source options you need to supply.Usage
.configu store declaration
CLI examples
Upsert command
Eval and export commands
Common errors and solutions
-
Connection timeout troubleshooting
- Solution: Increase the
connectTimeoutoracquireTimeoutin the configuration options to handle long-running connection setups. Make sure the database is reachable from your application.
- Solution: Increase the
-
Authentication failures
- Solution: Verify that the provided
usernameandpasswordare correct, and that the user has the necessary permissions to access the specified database. Use a MariaDB client to manually confirm the credentials.
- Solution: Verify that the provided
-
SSL Certificate issues
- Solution: Ensure the correct paths for SSL certificates are provided if
sslis enabled. Verify that the certificates match the MariaDB server’s configuration.
- Solution: Ensure the correct paths for SSL certificates are provided if
-
Database permissions problems
- Solution: Ensure that the database user has the required
READandWRITEpermissions for theconfig_storetable. Use the following SQL command to grant permissions:
- Solution: Ensure that the database user has the required
References
- Integration documentation: https://mariadb.org/documentation
- TypeORM documentation: https://typeorm.io