mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 03:41:48 +00:00
14 lines
306 B
Plaintext
14 lines
306 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# initdb
|
|
|
|
> Create a PostgreSQL database on disk.
|
|
> More information: <https://www.postgresql.org/docs/9.5/app-initdb.html>.
|
|
|
|
- Create a database at `/usr/local/var/postgres`:
|
|
|
|
`initdb -D /usr/local/var/postgres`
|