Install PostGreSQL Client in Linux CentOS 7

From Gejoreuy
Jump to navigation Jump to search


We want our CentOS 7 machine act as database client and can access a PostGreSQL database.

Install PostGreSQL Client

[root@gejoreuy ~]# yum install
[root@gejoreuy ~]# yum install postgresql10

How to Access PostGreSQL DB

[root@gejoreuy ~]# psql -h database_hostname -p port_number -d database_name -U user_name