$ psql -U postgres
ユーザ postgres のパスワード:
psql (11.3)
"help" でヘルプを表示します。
postgres=# CREATE USER my_username WITH PASSWORD 'my_password';
postgres=# CREATE DATABASE database_name;
postgres=# GRANT ALL PRIVILEGES ON DATABASE "database_name" to my_username;
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
11