Linux serverNETWORK ADMINISTRATIONS

How To Create Database In PostgreSQL by Manish Sharma

In this tutorial, we dive into the world of databases and learn how to create a database in PostgreSQL. Discover the CREATE DATABASE command syntax, and explore each parameter’s significance, such as owner, template, encoding, LC_COLLATE, LC_CTYPE, and tablespace.

Join us as we connect to the PostgreSQL container on Docker and execute the CREATE DATABASE statement step by step. Follow along as we create a new database named ‘Library’ owned by ‘Postgres’, based on the ‘template0’ template. We delve into encoding, locale collation, character classification, and the tablespace used.

Stay tuned as we showcase useful backslash commands, including checking the created databases with ‘l’ and connecting to the ‘Library’ database with ‘c library’. Finally, we demonstrate how to check the currently connected database with ‘SELECT current_database()’.

If you found this tutorial helpful, don’t forget to give it a thumbs up, subscribe to our channel, and hit the bell icon to receive notifications. For more insightful content, visit RebellionRider.com. Join Manish as he signs off, encouraging you to stay curious and keep exploring!

🔗 RebellionRider.com: http://rebellionrider.com/
————————————————————————
►►►LINKS◄◄◄
Blog: http://www.rebellionrider.com/how-to-create-a-database-in-postgresql/
Previous Tutorial
► CREATE TABLESPACE – https://youtu.be/UKxYCpTmOfk
► Connect With PostgreSQL using PSQL https://youtu.be/bDzs8IWkK34
► Connect With PostgreSQL using VS CODE https://youtu.be/ByPnXAPC3W4
————————————————————————-
►►►Social Media – Where I sort of Live
https://www.instagram.com/RebellionRider/
https://www.facebook.com/TheRebellionRider/

https://www.linkedin.com/in/mannbhardwaj/
————————————————————————-
►►►Books I refer to
PL/SQL https://amzn.to/2QE1jX0
Performance Tuning https://amzn.to/2sgiAw4
1z0-071 Exam https://amzn.to/2sgfeJw
Python Programming https://amzn.to/305UEbh
————————————————————————-
►►►Camera Gears
► Video Gears That We Use For Creating Our YouTube Video
https://www.amazon.in/shop/manishsharma?listId=DU9UM0XL97KM&ref=idea_share_inf

► Work From Home Essential Tech That We Use Daily
https://www.amazon.in/shop/manishsharma?listId=XAZ18JLLSNB5&ref=idea_share_inf

AFFILIATE DISCLOSURE:
Some of the links used in the description will direct you to Amazon.in. As an Amazon Associate, I earn from qualifying purchases at no additional cost to you.
#RebellionRider

source

centos 7

3 thoughts on “How To Create Database In PostgreSQL by Manish Sharma

  • Hey Manish, my boss gaved me a task related to Find out which applications are running on a database ..means which applications are using our databases ( I can’t find application names which are using our company’s database) need your help ASAP !!
    Thanks

Comments are closed.