[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can't connect to MySQL server on '172.30.145.103' (113)



​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 <dencowboy hotmail com> 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
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Ben Parees | OpenShift


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]