Skip to content

Instantly share code, notes, and snippets.

@darrenrogan
Created October 23, 2018 02:13
Show Gist options
  • Save darrenrogan/0dd3113172596ea10f6eb1342474285b to your computer and use it in GitHub Desktop.
Save darrenrogan/0dd3113172596ea10f6eb1342474285b to your computer and use it in GitHub Desktop.
dropdb -h db.dev1.server.internal -U dbuser databasename
createdb -h db.dev1.server.internal -U dbuser databasename
psql -h db.dev1.server.internal -U dbuser databasename < db.sql
@darrenrogan
Copy link
Author

sudo apt install postgresql postgresql-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment