osx - adding PSQL to the .bash_profile mac -


i installed postgresql client manage online database command, psql command not known in command line. tried add .bash_profile file there went wrong , none of commands can found. know how fix ?

this content of file[enter image description here][1]

export m2_home=/usr/local/apache-maven-3.3.9 export path=$path:$m2_home/bin export path=/library/postsql/9.5/bin:psql 

you're overwriting $path instead of appending it. change line include old $path too:

export path=$path:/library/postsql/9.5/bin 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -