TIL | PostgreSQL_Setting
TIL | PostgreSQL_Setting
PostgreSQL Setting 설치 $ brew install postgresql 서비스 시작 $ brew services start postgresql psql 접속 $ psql postgres $ psql postgres -U melody psql 데이터베이스 생성 postgres=# CREATE DATABASE "test_db" WITH OWNER = test ENCODING = 'UTF8' template = template0; 데이터베이스 리스트 보기 postgres=> \list 테이블 리스트 보기 postgres=> \dt 특정 database로 연결하기 postgres=> \connect test postgres=# 가 postgres=> 로 바뀐 것을 확인 할 수 있음. 특정 유저에게..
DB/PostgreSQL
2021. 10. 8. 10:55
명이나물 라이브러리