Skip to content

Instantly share code, notes, and snippets.

@VictorVelarde
Last active April 9, 2019 17:48
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 VictorVelarde/cd2384a45ae002f5cd0492e8db52dbeb to your computer and use it in GitHub Desktop.
Save VictorVelarde/cd2384a45ae002f5cd0492e8db52dbeb to your computer and use it in GitHub Desktop.
[CARTO - Basic admin SQL] sql, carto
-- Connection to local vagrant env
-- localhost:9432 (NAT port 5432 --> external 9432)
-- database --> postgres
-- user --> postgres
-- Get databases in instance
SELECT datname FROM pg_database WHERE datistemplate = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment