I am working on a project based on Magento Commerce Cloud.
Can anyone please guide me on how can I access the database of the staging branch?
Thanks!
magento2magento2-cloud
I am working on a project based on Magento Commerce Cloud.
Can anyone please guide me on how can I access the database of the staging branch?
Thanks!
Best Answer
If your goal is to access it using some type of GUI client, you could accomplish this by opening an ssh tunnel using the
magento-cloud
utility, similar to the above answer:magento-cloud tunnel:open --project=<PROJECT_ID> --environment=staging
Then run the command
magento-cloud tunnel:info
to get the appropriate credentials to input into whatever utility you may be trying to use.[edited] syntax error on "tunnel:open"