psql -h localhost -U postgres -d postgressql
pg_ctl restart -D $PGDATAide
配置pg_hba.conf md5而後進行重啓post
測試:測試