일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 엔진엑스
- PGSQL
- Stoplight
- nodejs
- 스크롤부스터
- 리눅스
- 접속자수
- 몽고DB
- node.js
- API design
- ScrollBooster
- db
- MongoDB
- tbls
- Redis
- php
- PostgreSQL
- api 문서
- JavaScript
- Linux
- 우분투
- ubuntu
- nosql
- nginx
- 18.04
- Node
- ulimit
- php7
- NVM
- 데이터베이스
- Today
- Total
목록데이터베이스 (3)
Parallel World
https://github.com/k1LoW/tbls 데이터베이스를 문서화하기위한 도구입니다. Go로 작성되었으며 Command Line에 친화적입니다. 주요 특징 Github에 친화적인 Markdown 형식으로 데이터베이스를 자동으로 문서화. 단일 바이너리 파일 Command Line에 친화적. 데이터베이스에 대한 Lint 작업 데이터베이스 테이블 명세서 작성에 많은 도움이 될것 같네요.
ROLE 백업 pg_dumpall -h localhost -p 5432 -U postgres -v --roles-only -f "/path/to/useraccts.sql" 테이블 스페이스가 포함된 모든 글로벌 백업 pg_dumpall -h localhost -p 5432 -U postgres -v --globals-only -f "/path/to/globals.sql" ROLE 복원 psql -h localhost -d postgres -U postgres -f "/path/to/useraccts.sql"
Postgresql 유저 생성 Postresql 유저 생성 $ sudo -u postgres createuser Postgresql 유저 로그인 $ sudo su - postgres Postgresql 환경에 진입 $ psql psql (11.5 (Ubuntu 11.5-1.pgdg18.04+1)) Type "help" for help. postgres=# 유저 패스워드 지정 postgres=# alter user with encrypted password ''; 데이터베이스 전체 권한 부여 postgres=# grant all privileges on database to ; 데이터베이스 생성하기 데이터베이스 생성 postgres=# CREATE DATABASE ; 데이터베이스 리스트 확인 postgre..