Spring Boot SSH Mysql?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I can successfully connect to my openshift mysql through workbench, how do I do the same through my spring boot application? in my application.properties: # Connection url for the database spring.datasource.url = jdbc:mysql:// : @ : / # Username and password spring.datasource.username = spring.datasource.password = where do I supply my private key? 回答1: In order to get access from your local app to your Mysql server via SSH (such as using MySql-Openshift), the "only" extra thing you would need to do, is establish a previous SSH connection,