+++ This bug was initially created as a clone of Bug #928029 +++
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>
"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."
No mention of phpmyadmin unless it is actually available.
Message probably comes from the mysql cartridge. Not sure it's able to tell whether phpmyadmin is available.
The cartridge response text (really, anything that will get back to the user) should be "skinnable" in some way; i.e. possible to override without rebuilding the cartridge.
Luke Mayer: It would be nice if we can have 'erb' templates for the messages we send back to clients. In that case they could be part of the cartridge but overridable by an env var (eg. CART_MESSAGES_DIR).
The manifest already has a Suggests element. I think the Broker/Node should orchestrate that information being provided to the developer in the future instead of the cartridge.
Jhon: Should I convert this feature request to a trello card?
Yes, and close this upstream. As a backstop, you could just update the current mysql code and not include a version number.
Trello card: https://trello.com/c/couCHWnN/298-broker-node-should-provide-the-suggest-element-to-the-user-when-adding-a-cartridge-or-creating-an-app
Mysql cartridge update will come shortly :-)
30:client_result "You can manage your new MySQL database by also embedding phpmyadmin."
31:client_result "The phpmyadmin username and password will be the same as the MySQL credentials above."
The fix is already there, so we can close this bug.