LoginSignup
10
8

More than 5 years have passed since last update.

Redshiftにpsqlのワンライナーで接続したい

Last updated at Posted at 2014-07-30

Amazon Redshiftにpsqlで接続するときに、psqlのオプションにパスワードの指定オプションがないため、毎回パスワード入力のプロンプトが出てきて面倒な人向け

$ PGPASSWORD=[password] psql -h [Endpoint] -U [username] -d [dbname] -p [port]
10
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
8