- Name: MySQL
- Category: Database
Configuration
Configu needs to be authorized to access your MySQL 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 MySQL 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 MySQL 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://dev.mysql.com/doc
- TypeORM documentation: https://typeorm.io