I've one integration environment it was working well but one of my developers deleted the env.php
, now I can't make it work again.
How could I find my database credentials to my integration env in my Magento Cloud panel or configurations?
I've one integration environment it was working well but one of my developers deleted the env.php
, now I can't make it work again.
How could I find my database credentials to my integration env in my Magento Cloud panel or configurations?
In your terminal, you might see the data to do the connection between the services with this Magento Cloud CLI command below.
magento-cloud relationships -e environment
environment = integration|staging|production
Please let me know if it works for you;
$ echo $MAGENTO_CLOUD_RELATIONSHIPS
$ php -r "echo json_encode(base64_decode('BASE_64_RESULT'));"
It must show the value you want.
Good Luck.