PostgreSQL 9.5 dmg üzerinden yüklerseniz El Capitan versiyonunda /Library/PostgreSQL/9.5/ klasörü içine yükleniyor ve veritabanı verilerini ve ayar dosyalarını /Library/PostgreSQL/9.5/data klasörü içinde saklıyor.
Eğer boş şifre kullanmak istiyorsanız data klasörü içindeki pg_hba.conf dosyasını açıp içine
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres md5
#host replication postgres 127.0.0.1/32 md5
#host replication postgres ::1/128 md5
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres md5
#host replication postgres 127.0.0.1/32 md5
#host replication postgres ::1/128 md5
ayarını kaydedip, PostgreSQL'in konfigürasyonunu yeniden okumasını sağlamanız gerekiyor. Konfigürasyonu okuması için /Applications/PostgreSQL/ içinde reload configuration isimli bir uygulama var çift tıklamanız yeterli.
Hiç yorum yok:
Yorum Gönder