New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL to MySQL from CLI: need to add extra arguments #2788
Comments
Pull request: #2789. |
Thanks for reporting this. Ideally we'd like to add built in support for things like this, instead of allowing arbitrary extra arguments, properties, etc. Is this the only reason you'd like the 'extra arg' feature? |
@MikielAgutu , yes, right now I need to add SSL support to Flyway CLI only, I see no other reason for this patch. |
Have you seen #1727? Apparently this has come up before a while ago. You can use the |
@MikielAgutu , |
export JAVA_ARGS="-Djavax.net.ssl.trustStore=~/aws_rds_truststore.jks -Djavax.net.ssl.trustStorePassword=changeit" works fine. Thank you very much! |
Which version and edition of Flyway are you using?
Flyway Community Edition 6.4.0 by Redgate
If this is not the latest version, can you reproduce the issue with the latest one as well?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line.
Which database are you using (type & version)?
AWS RDS MySQL 5.7.22.
Which operating system are you using?
What did you do?
What did you expect to see?
What did you see instead?
I've successfully established SSL connection to AWS RDS with Flyway CLI, but I had to edit shell-script https://github.com/flyway/flyway/blob/master/flyway-commandline/src/main/assembly/flyway to add extra arguments:
Could you please add possibility to add arguments without patching your shell script?
For example, by
FLYWAY_EXTRA_ARGS
:Then I will create documentation how to connect Flyway to MySQL with SSL.
The text was updated successfully, but these errors were encountered: