ユーザpostgresのパスワードを変える

postgres@hackkit:~$ psql template1

Welcome to psql 8.1.18, the PostgreSQL interactive terminal.

Type:  ¥copyright for distribution terms

¥h for help with SQL commands

¥? for help with psql commands

¥g or terminate with semicolon to execute query

¥q to quit

template1=# alter user postgres with password ‘postgres’;

ALTER ROLE

タイトルとURLをコピーしました