the mysql service defined by that sample uses port 5434, not 3306: https://github.com/openshift/origin/blob/master/examples/sample-app/application-template-stibuild.json#L292
(that service maps the service port 5434 to the container port 3306). You should be able to see this information when you run "oc get svc". On Thu, Feb 18, 2016 at 5:04 AM, Den Cowboy <[email protected]> wrote: > I've installed the sample-app by using the sti-template. > https://github.com/openshift/origin/tree/master/examples/sample-app > > Now I want to access the mysql-db but it still fails: > > mysql –h 172.30.145.103 (IP of Database-server) -P 3306 -u userNQ3 -p root > > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > -- Ben Parees | OpenShift
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
