Openshift: How to remote access MySQL?

前端 未结 5 1702
旧巷少年郎
旧巷少年郎 2020-12-12 18:45

So I just finished setting up a JBoss application server gear on Openshift and I attached a MySQL and phpmyadmin cartridges. My question is if there is a wa

5条回答
  •  隐瞒了意图╮
    2020-12-12 18:55

    To remotely access MySQL on Openshift, you can configure NodePort or LoadBalancer as the type on the Service instead of the default ClusterIP. This will allow external tcp access to your database. Note a nodeport will be defined in the 30000-32767 range by default which will map to the targetport.

提交回复
热议问题