Created
April 25, 2012 14:15
-
-
Save levymoreira/2489998 to your computer and use it in GitHub Desktop.
PostgreSQL permissão acesso em 1 minuto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#As alterações abaixo irão dar permissão de acesso total a todas suas bases | |
#e a todos os usuários remotamente no servidor do postgreSQL então não use em produção. | |
#Testado no PostgreSQL 9.1 | |
#No arquivo pg_hba.conf | |
# IPv4 local connections: | |
host all all 0.0.0.0/0 trust | |
#No arquivo postgressql.conf | |
# - Connection Settings - | |
listen_addresses = '*' #geralmente esta localhost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment