Skip to content

How to use pgadmin

Manato Kato edited this page Dec 10, 2021 · 3 revisions

Setup

  1. access to http://localhost:5050
  1. メールアドレスとパスワードを入力してログイン
    • email: PGADMIN_DEFAULT_EMAIL(docker-compose.yml)
    • password: PGADMIN_DEFAULT_PASSWORD(docker-compose.yml)
  2. Click "Add New Server"
  1. サーバー情報を入力
    • General/Name: 任意
    • Connection/Host name address: postgres
    • Connection/Port: 5432
    • Connection/Maintenance database: POSTGRES_DB(postgres.env)
    • Connection/Username: POSTGRES_USER(postgres.env)
    • Connection/Password: POSTGRES_PASSWORD(postgres.env)
  1. Click "Save"

Show table

  1. Select "Servers -> {General/Name} -> Databases -> {POSTGRES_DB} -> Schemas -> public -> Tables" in left tab.
  1. 任意のテーブルを右クリックして"View/Edit Data -> All Rows"
Clone this wiki locally