-
-
Save shmdt/861b65c4e7c9d26d96e391efb0b82543 to your computer and use it in GitHub Desktop.
Revisions
-
shmdt revised this gist
Mar 24, 2017 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ # ubuntu: sudo nano /etc/postgresql/<< version >>/main/pg_hba.conf # Позволяет любому пользователю локальной системы подключиться # к любой базе данных, используя любое имя базы данных через # доменные сокеты Unix (по умолчанию для локальных подключений). -
shmdt revised this gist
Mar 22, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # ubuntu: sudo nano /etc/postgresql/<< version >>/main/pg_hba.conf # macos: sudo nano /usr/local/var/postgres/pg_hba.conf # Позволяет любому пользователю локальной системы подключиться # к любой базе данных, используя любое имя базы данных через # доменные сокеты Unix (по умолчанию для локальных подключений). -
shmdt revised this gist
Mar 22, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ # ubuntu: sudo nano /etc/postgresql/<< version >>/main/pg_hba.conf # macos: cd /usr/local/var/postgres/pg_hba.conf # Позволяет любому пользователю локальной системы подключиться # к любой базе данных, используя любое имя базы данных через # доменные сокеты Unix (по умолчанию для локальных подключений). -
shmdt revised this gist
Feb 17, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # sudo nano /etc/postgresql/<< version >>/main/pg_hba.conf # Позволяет любому пользователю локальной системы подключиться # к любой базе данных, используя любое имя базы данных через # доменные сокеты Unix (по умолчанию для локальных подключений). -
shmdt revised this gist
Feb 17, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # sudo vi /etc/postgresql/<< version >>/main/pg_hba.conf # Позволяет любому пользователю локальной системы подключиться # к любой базе данных, используя любое имя базы данных через # доменные сокеты Unix (по умолчанию для локальных подключений). -
Serhii Ovcharenko renamed this gist
Feb 6, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ # sudo vi /etc/postgresql/9.5/main/pg_hba.conf # Позволяет любому пользователю локальной системы подключиться # к любой базе данных, используя любое имя базы данных через # доменные сокеты Unix (по умолчанию для локальных подключений). -
Serhii Ovcharenko created this gist
Feb 1, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ # Позволяет любому пользователю локальной системы подключиться # к любой базе данных, используя любое имя базы данных через # доменные сокеты Unix (по умолчанию для локальных подключений). # # TYPE DATABASE USER ADDRESS METHOD local all all trust # То же, но для локальных замкнутых подключений по TCP/IP. # # TYPE DATABASE USER ADDRESS METHOD host all all 127.0.0.1/32 trust # То же, что и на предыдущей строке, но для подключений с указанием # сетевой маски в отдельном столбце # # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD host all all 127.0.0.1 255.255.255.255 trust # То же для IPv6. # # TYPE DATABASE USER ADDRESS METHOD host all all ::1/128 trust # То же самое, но с использованием имени сервера # (обычно покрывает и IPv4, и IPv6). # # TYPE DATABASE USER ADDRESS METHOD host all all localhost trust