There is another version of phpMyAdmin made by dmikusa (see: https://github.com/dmikusa-pivotal/cf-ex-phpmyadmin ) but this version can't work in offline Cloud Foundry and also can't find another mysql service not provided by cleardb
or p-mysql
.
This version is a real fork from phpMyAdmin.
Just 5 steps:
- Download the zip file from here: https://github.com/cloudfoundry-community/phpmyadmin-cf/archive/cf-ready.zip.
- Unzip it
- Go inside the unzipped folder and run
cf push
- Bind your mysql service with
cf bs phpmyadmin-cfready <service_name>
and repeat for all mysql services you want in your phpMyAdmin - Restage the service with
cf restage phpmyadmin-cfready
- Get username & password for login phpmyadmin-cfready:
cf env <app_name>
and you're done.