Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- caching_sha2_password
- caching_sha2_password
- version: '3'
- services:
- docker-mysql:
- image: mysql:8.0.11
- command: --default-authentication-plugin=mysql_native_password
- environment:
- ...
- ALTER USER 'username'@'ip_address' IDENTIFIED WITH mysql_native_password BY 'password';
- Flyway Community Edition 5.1.4 by Boxfuse
- Database: jdbc:mysql://docker-mysql:3306/test1 (MySQL 8.0)
- WARNING: You are connected to a MySQL database using the MariaDB driver. This is known to cause issues. An upgrade to Oracle's MySQL JDBC driver is highly recommended.
- Successfully validated 1 migration (execution time 00:00.010s)
- Creating Schema History table: `test1`.`flyway_schema_history`
- Current version of schema `test1`: << Empty Schema >>
- Migrating schema `test1` to version 1.0 - init
- Successfully applied 1 migration to schema `test1` (execution time 00:00.290s)
- flyway-service-i:
- image: boxfuse/flyway
- command: ...
- volumes:
- - "./sql:/flyway/sql"
- - "./drivers:/flyway/drivers"
- Flyway Community Edition 5.1.4 by Boxfuse
- Database: jdbc:mysql://docker-mysql:3306/test1 (MySQL 8.0)
- Successfully validated 1 migration (execution time 00:00.011s)
- Creating Schema History table: `test1`.`flyway_schema_history`
- Current version of schema `test1`: << Empty Schema >>
- Migrating schema `test1` to version 1.0 - init
- Successfully applied 1 migration to schema `test1` (execution time 00:00.229s)
- WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
- jdbc:mysql://docker-mysql:3306/test1?verifyServerCertificate=false&useSSL=true
Add Comment
Please, Sign In to add comment