Red Hat Bugzilla – Bug 928029
Embedding mysql cartridge misinforms user that phpmyadmin-3.4 is available
Last modified: 2017-03-08 12:35 EST
Description of problem: When adding the mysql-5.1 cartridge to an app, a message is returned indicating you can add phpmyadmin to administer it. You can't. Steps to Reproduce: 1. Create an app 2. rhc cartridge add mysql-5.1 -a <app> Actual results: "You can manage your new MySQL database by also embedding phpmyadmin-3.4. The phpmyadmin username and password will be the same as the MySQL credentials above." Expected results: No mention of phpmyadmin unless it is actually available. Additional info: Message probably comes from the mysql cartridge. Not sure it's able to tell whether phpmyadmin is available.
For now we're just going to patch this in the OSE codebase. Longer term it would be best to break out all the txt from the applications to allow the differences between OpenShift versions to be managed cleanly.
Verify this bug on puddle: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.2/2013-05-17.2 [root@dhcp-8-133 workspace]# rhc cartridge add mysql -a app7 Using mysql-5.1 (MySQL Database 5.1) for 'mysql' Adding mysql-5.1 to application 'app7' ... Success mysql-5.1 (MySQL Database 5.1) ------------------------------ Gears: 1 medium Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/ Database Name: app7 Password: gqpS4Zi-_wPH Username: adminPXEHzjj RESULT: Added mysql-5.1 to application app7 MySQL 5.1 database added. Please make note of these credentials: Root User: adminPXEHzjj Root Password: gqpS4Zi-_wPH Database Name: app7 Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/ [root@dhcp-8-133 workspace]#
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1032.html