Description of problem: I noticed the interface for openshift management console has changed and allowed me to add a myphpadmin cartridge to my scaled application. When I access the phpadmin url, phpadmin loads but I get the following error: 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) The server is not responding (or the local server's socket is not correctly configured). Invalid hostname for server 1. Please review your configuration. Is phpmyadmin supported on scaled applications? Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. create a scaled application 2. add myphpadmin cartridge 3. access myphpadmin Actual results: 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Expected results: successfully be able to view data. Additional info:
Tried on PROD, the phpmyadmin can be added to scalable app through website and rhc client without username and password given, and the url of phpmyadmin can not be accessed.
Proposed fix --> https://github.com/openshift/origin-server/pull/3939
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/fcae2c3d7778d645758352fcdc6a006d95c29e96 Fix for bug 1020440, 1021041, 1021462, 1021467, and a typo
We are now preventing phpmyadmin cartridge from being added to a scalable application.
Tested on devenv_3932, the phpmyadmin cartridge can not be added to scalable app through website and rhc, error message "phpmyadmin-4 cannot be embedded in scalable app 'jbosseap'." will be displayed, so verify this bug, thanks!
Tested on STG(devenv-stage_528), this issue also fixed on STG, so verify this bug, thanks.