我可以通过工作台成功连接到我的openshift mysql,如何通过我的spring启动应用程序执行相同操作?
在我的application.properties中:
# Connection url for the database
spring.datasource.url = jdbc:mysql://<SSH_username>:<SSH_password>@<mysql_hostname>:<mysql_port>/<mysql_schema>
# Username and password
spring.datasource.username = <mysql_username>
spring.datasource.password = <mysql_password>
Run Code Online (Sandbox Code Playgroud)
我在哪里提供私钥?