In this Video, We're going to see How We Can Download & install PostgreSQL 15 on MAC OS M1/M2 Machines.
Postgresql Website - www.postgresql.org/
To Download the PostgreSQL Installer URL - postgresapp.com/downloads.html
After Downloading and Copying the PostgreSQL.app in Applications Folder.
MySQL Commands -
First We Need to Open the Terminal and Write PostgreSQL Config Command - sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp
Now Close the Terminal. And Open Again
Command to Check Databases - \list
PostgreSQL Command to Create Database - create database database_name;
Use Specific Database - \c database_name;
#postgresql #pgadmin #sql
コメント