Difference between revisions of "Initdb"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
https://www.postgresql.org/docs/current/app-initdb.html
 +
 
  https://www.postgresql.org/docs/current/locale.html
 
  https://www.postgresql.org/docs/current/locale.html
  
 
  initdb [[--locale]]=C -E [[UTF-8]] [[/opt/homebrew/var/postgres]]
 
  initdb [[--locale]]=C -E [[UTF-8]] [[/opt/homebrew/var/postgres]]
  
[[locale]]
+
initdb [[--locale]]=C -E [[UTF-8 /]]Users/user/brew/var/postgresql@16
 +
 
 +
 
 +
initdb --locale-provider=[[icu]] [[--icu-locale]]=en
 +
 
 +
 
 +
initdb --locale=C -E UTF-8  ./
 +
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/Users/user/brew/Cellar/libpq/16.1_1/bin/initdb"
 +
 
 +
== Related ==
 +
[[locale]]
 +
[[brew install postgresql@16]]
 +
[[brew services start postgresql@16]]
  
 
== See also ==
 
== See also ==
* {{
+
* {{initdb}}
 +
* {{PostgreSQL}}
  
 
[[Category:PostgreSQL]]
 
[[Category:PostgreSQL]]

Latest revision as of 17:39, 8 January 2024

https://www.postgresql.org/docs/current/app-initdb.html
https://www.postgresql.org/docs/current/locale.html
initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres
initdb --locale=C -E UTF-8 /Users/user/brew/var/postgresql@16


initdb --locale-provider=icu --icu-locale=en


initdb --locale=C -E UTF-8  ./
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/Users/user/brew/Cellar/libpq/16.1_1/bin/initdb"

Related[edit]

locale
brew install postgresql@16
brew services start postgresql@16

See also[edit]

Advertising: