The Magician

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
postgresql [2026/11/11 09:05] – jppostgresql [2026/11/11 09:09] (current) – jp
Line 39: Line 39:
  
   host    someDB    postgres  10.88.88.0/16  scram-sha-256   host    someDB    postgres  10.88.88.0/16  scram-sha-256
 +Теперь подключаемся локально и устанавливаем пароль:
 +
 +  sudo -u postgres psql
 +<code>
 +SET password_encryption = 'scram-sha-256';
 +\password postgres
 +</code>
 +Перезапускаем сервис, проверяем
 +
 +  systemctl status postgresql-18.service
 {{tag>PostgreSQL Databases Linux}} {{tag>PostgreSQL Databases Linux}}
postgresql.1794387909.txt.gz · Last modified: by jp