Version
- MySQL 5.7+ or MySQL 8
utf8mb4recommended
Connection config
Inapplication-dev.properties or conf/application.properties:
- Host and port
- Database name (default
blogloom) - User and password
- Connection pool settings
Data access
- MyBatis for data access.
- PageHelper for list pagination.
- SQL maintained in mapper XML files.
Operations
- Back up the database regularly.
- Use a dedicated, least-privilege account for the app.
- Monitor slow queries and optimize indexes.
- Back up and verify scripts before upgrading.