зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-04 07:36:08 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			19 строки
		
	
	
		
			391 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 строки
		
	
	
		
			391 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
2016
 | 
						|
https://blog.bigbinary.com/2016/01/23/configure-postgresql-to-allow-remote-connection.html
 | 
						|
 | 
						|
.../data/postgresql.conf
 | 
						|
...
 | 
						|
listen_addresses = '*'
 | 
						|
...
 | 
						|
 | 
						|
.../data/pg_hba.conf
 | 
						|
host    all             all             all           md5
 | 
						|
...
 | 
						|
!!!
 | 
						|
host    all             all             all           trust
 | 
						|
 | 
						|
check by:
 | 
						|
psql -h localhost -U postgres
 | 
						|
 | 
						|
PGPASSWORD=pgpass psql -h localhost -U postgres
 |