Flyway Articles
2 articles about Flyway. Explore Spring Boot implementation, design, and operations across related topics.
-
How to Connect Spring Boot to MySQL - application.yml Configuration, JDBC URL Parameters, and Time Zone/Character Encoding Pitfalls
A step-by-step guide to connecting Spring Boot 3.x to MySQL 8, covering Docker Compose startup, application.yml configuration, and connectivity checks. Also covers recommended JDBC URL parameter values and how to fix the Public Key Retrieval error, date/time offsets, and utf8mb4 garbled characters.
-
Managing Database Migrations with Flyway in Spring Boot - A Practical Guide from Version Control to Production Deployment
A practical guide to safely versioning your database schema with Flyway in Spring Boot applications. Covers adding spring-boot-starter-flyway, configuring application.properties, how the flyway_schema_history table works, handling existing databases with baseline-on-migrate, and troubleshooting with flywayRepair, all with concrete examples.