Ubuntu에서 PostgreSQL설치 후 기본 postgres계정 Password설정하기
Category : Database Comments : 댓글쓰기 Posted by 장창학 at 3:00 PM
Bookmark and Share

pgAdmin

Ubuntu에서 PostgreSQL를 설치하고, 기본 계정인 postgres의 패스워드를 지정해야만 PGAdmin으로 접속이 가능하다. 어렵다.. PostgreSQL.. Oracle에 맞설 유일한 Enterprise급 Open Source SQL서버인데..

$ sudo apt-get install postgresql
$ sudo -u postgres psql postgres
postgres=# ALTER USER postgres WITH ENCRYPTED PASSWORD '설정할패스워드';
postgres=# \q

그런다음, PGAdmin을 실행하고, 관리자로 로그인한 다음, 새로운 Role과 DB를 생성해 주면 된다.

pgAdmin

Comments


Write your comment



(it will not be displayed - 실제로 댓글 목록에서는 출력되지 않습니다)



Leave this field empty:




About me

Categories

Monthly Archives

Links

Recent Posts

Recent Comments