Is it possible to install phpMaAdmin in Cloud Foundry without MySQL/MariaDB Service?
I want to connect from CF phpMyAdmin to a remote MariaDB.
I use the PHP-Buildpack in CF.
Question posted in PhpMyAdmin
The official documentation can be found here.
The official documentation can be found here.
2
Answers
Thank you Daniel. It works.
I tried another way too. I dowloaded the actually Version of phpMyAdmin here
And configured the config.inc.php File like this:
After that i pushed it to CloudFoundry into my Space using php_buildpack
Yes.
Follow the instructions from this sample.
Instead of running
cf create-service
for step #2, runcf cups
. This will create a user-provided service, which allows you to manually populate the service info.Make sure that the name of your user-provided service contains the string "mysql", this is a trigger for the code added to the sample to configure your service. The full name is going to be populated as the description of the server in PHP MyAdmin.
Your user-provided service needs to have the following properties, which should reference your external server.
Ex:
cf create-user-provided-service mysql -p "hostname, port"
(the command will prompt you for the hostname and port)Then complete the rest of the instructions as documented.