psql -h localhost -U postgres -d postgressql
pg_ctl restart -D $PGDATAide
配置pg_hba.conf md5而后进行重启post
测试:测试