Guest User

Untitled

a guest
Nov 12th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. caching_sha2_password
  2.  
  3. caching_sha2_password
  4.  
  5. version: '3'
  6.  
  7. services:
  8. docker-mysql:
  9. image: mysql:8.0.11
  10. command: --default-authentication-plugin=mysql_native_password
  11. environment:
  12. ...
  13.  
  14. ALTER USER 'username'@'ip_address' IDENTIFIED WITH mysql_native_password BY 'password';
  15.  
  16. Flyway Community Edition 5.1.4 by Boxfuse
  17.  
  18. Database: jdbc:mysql://docker-mysql:3306/test1 (MySQL 8.0)
  19. 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.
  20. Successfully validated 1 migration (execution time 00:00.010s)
  21. Creating Schema History table: `test1`.`flyway_schema_history`
  22. Current version of schema `test1`: << Empty Schema >>
  23. Migrating schema `test1` to version 1.0 - init
  24. Successfully applied 1 migration to schema `test1` (execution time 00:00.290s)
  25.  
  26. flyway-service-i:
  27. image: boxfuse/flyway
  28. command: ...
  29. volumes:
  30. - "./sql:/flyway/sql"
  31. - "./drivers:/flyway/drivers"
  32.  
  33. Flyway Community Edition 5.1.4 by Boxfuse
  34.  
  35. Database: jdbc:mysql://docker-mysql:3306/test1 (MySQL 8.0)
  36. Successfully validated 1 migration (execution time 00:00.011s)
  37. Creating Schema History table: `test1`.`flyway_schema_history`
  38. Current version of schema `test1`: << Empty Schema >>
  39. Migrating schema `test1` to version 1.0 - init
  40. Successfully applied 1 migration to schema `test1` (execution time 00:00.229s)
  41.  
  42. 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.
  43.  
  44. jdbc:mysql://docker-mysql:3306/test1?verifyServerCertificate=false&useSSL=true
Add Comment
Please, Sign In to add comment