Home » Sửa lỗi psql: command not found

Sửa lỗi psql: command not found

by tuanlp

 [root@server1 ~]# su postgres

 [postgres@server1 root]$ psql -f all.sql
 bash: psql: command not found

Chạy câu lệnh sau

export PATH=/opt/PostgreSQL/9.5/bin:$PATH

You may also like