LoginSignup
1
0

More than 5 years have passed since last update.

SQLファイル実行時にパスワードを聞かれないようにする方法

Posted at

SQLファイル実行時にパスワードを聞かれないようにする方法

検証環境

  • OS: Windows10
  • DB: PostgresSQL9.6

パスワードファイルの書式

Format

hostname:port:database:username:password

Example.

*:*:*:postgres:password

格納場所

Windows

%APPDATA%\postgresql\pgpass.conf

Linux

ホームディレクトリ/.pass

参考

1
0
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
1
0