Skip to content

Instantly share code, notes, and snippets.

@sawtell
Created November 21, 2018 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sawtell/68d48be141dcc106a6ac69497c1d0434 to your computer and use it in GitHub Desktop.
Save sawtell/68d48be141dcc106a6ac69497c1d0434 to your computer and use it in GitHub Desktop.
Platform.sh and Sequel Pro
@see https://thinktandem.io/blog/2017/03/03/connecting-to-a-remote-platform-sh-database/
However, the database connection details do not work for me.
Get the DB credentials from Platform.sh via the following command:
platform drush 'php-eval "print_r(json_decode(base64_decode(getenv(PLATFORM_RELATIONSHIPS)), TRUE))"' -e staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment