Skip to content

Instantly share code, notes, and snippets.

View IvanCl4udio's full-sized avatar

Ivan Cl4udio IvanCl4udio

View GitHub Profile
@IvanCl4udio
IvanCl4udio / create_database.md
Last active May 19, 2021 10:24
How create a new database in PostgreSQL

How create a new database in PostgreSQL

Access the sql console and run the following command:

CREATE DATABASE "example_db"
WITH OWNER "postgres"
ENCODING 'UTF8'
LC_COLLATE = 'en-US'
LC_CTYPE = 'en-US'