0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

postgresql基礎

Posted at

実行環境

MacOS 10.14.5

基本的なコマンドメモ

インストールコマンド

$ brew install postgresql

プロセス実行コマンド

$ brew services start postgresql

$ pg_ctl -D /usr/local/var/postgres start

postgresCLI起動

psql -U <role_name> -d <database_name>

ユーザー(ロール)作成

create role <ユーザー(ロール)名> with login password 'password';
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?