Skip to content

Instantly share code, notes, and snippets.

@ca4ti
Forked from khoazany/createdb-with-locale.sh
Created October 2, 2024 19:22
Show Gist options
  • Save ca4ti/4aaf03797e0596856906d4d53d93ac5a to your computer and use it in GitHub Desktop.
Save ca4ti/4aaf03797e0596856906d4d53d93ac5a to your computer and use it in GitHub Desktop.
Create a new PostgreSQL database with UTF8 encoding
#Replace 'symplcms' with the database'name
createdb --template=template0 --locale=en_US.UTF-8 --encoding=UTF8 -U postgres symplcms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment