-
1. Re: phpMyAdmin for OpenShift JBoss Cartridge
theute Oct 20, 2011 2:37 AM (in response to simas_ch)Sounds like something that worth a try ! Thanks
-
2. Re: phpMyAdmin for OpenShift JBoss Cartridge
refon Oct 20, 2011 4:47 AM (in response to simas_ch)Thank you for the resource !
-
3. Re: phpMyAdmin for OpenShift JBoss Cartridge
maxandersen Oct 24, 2011 5:07 AM (in response to simas_ch)bwt. I found this article [1] about OpenShift and phpmyadmin and I just tried it on my AS7 project and it actually just works.
Not sure why it didn't work on Thomas' application - maybe he typed the cartridge name wrong.
But its very simple, here is my commands/output (sans passwords
[max@greybeard ~/git]$ rhc-ctl-app -a super -e add-mysql-5.1 Password: Contacting https://openshift.redhat.com Contacting https://openshift.redhat.com API version: 1.1.1 Broker version: 1.1.1 RESULT: Mysql 5.1 database added. Please make note of these credentials: Root User: admin Root Password: <secret> Database Name: super Connection URL: mysql://127.1.60.1:3306/ [max@greybeard ~/git]$ rhc-ctl-app -a super -e add-phpmyadmin-3.4 Password: Contacting https://openshift.redhat.com Contacting https://openshift.redhat.com API version: 1.1.1 Broker version: 1.1.1 RESULT: phpMyAdmin 3.4 added. Please make note of these credentials: Root User: admin Root Password: <secret> Connection URL: https://super-man.rhcloud.com/phpmyadmin/
So it actually does work on any openshift app no matter its type.
-
4. Re: phpMyAdmin for OpenShift JBoss Cartridge
simas_ch Oct 24, 2011 5:54 AM (in response to maxandersen)Hey cool!
When you execute rhc-ctl-app it only displays mysql-5.1 but when you execute rhc-ctl-app -a <your app> -e <invalid type> then it says:
Invalid type specified. Valid embedded types are (mysq-5.1, phpmyadmin-3.4)
-
5. Re: phpMyAdmin for OpenShift JBoss Cartridge
maxandersen Oct 24, 2011 6:10 AM (in response to simas_ch)Weird, I get it listed in both cases.
Maybe you are running an older version of the jboss type on your app ?
Does it happen for newly created app too ?
-
6. Re: phpMyAdmin for OpenShift JBoss Cartridge
theute Oct 24, 2011 6:23 AM (in response to maxandersen)Doh !
Indeed it does work, use the same command as you on the app I used during demo and:
https://javaee-jbossepp.rhcloud.com/phpmyadmin/ (well you don't have my secret password )
I feel happy that it works but stupid that I didn't get it to work during demo :-/ (for my excuse the feature was released the day before my demo )
-
7. Re: phpMyAdmin for OpenShift JBoss Cartridge
simas_ch Oct 24, 2011 7:59 AM (in response to maxandersen)Yes it happens as well for new created apps. Strange.
What ever - OpenShift is cool. JBoss AS 7 with MySQL and phpMyAdmin the perfect runtime for many apps.