Have you ever ran into this error while trying to use postgresql ??
psql : The term 'psql' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
psql
~~~~
CategoryInfo : ObjectNotFound: (psql:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException
You are not alone. We all run into this error on our first time using PostgreSQL.
In this video, i will provide a step by step walkthrough on how you can solve the issue and also set up environment variables properly so you don't get this error again.
you will learn about the following
why you get the 'psql' is not recognized error
how to set search for PostgreSQL installation directory
how to set environment variable for PostgreSQL
The Complete PostgreSQL Master Class: • The Complete PostgreSQL Master Class
00:00 Introduction
00:20 'psql' is not recognized error
00:30 Why are you getting this error
01:23 search for folder or installation directory which PostgreSQL is installed on computer
02:32 set environment variables for PostgreSQL