LoginSignup
0
0

PostgreSQLでユーザを作ってDBまでつくる

Posted at

よく忘れるので自分用メモ

# su - postgres
$ createuser -P db_user
$ createdb -T template0 -l ja_JP.UTF8 -O db_user db_name
  • ロケールが標準でよければ-T-lは不要
0
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
0
0