Kuv yuav rov pib dua kuv tus password pgadmin4 li cas?
Kuv yuav rov pib dua kuv tus password pgadmin4 li cas?

Video: Kuv yuav rov pib dua kuv tus password pgadmin4 li cas?

Video: Kuv yuav rov pib dua kuv tus password pgadmin4 li cas?
Video: Yog rov pib dua 2024, Kaum ib hlis
Anonim

Koj tuaj yeem hloov tus password siv File->Change tus password . Yog tias tus neeg siv postgres tsis muaj cai superuser, ces koj hloov tsis tau tus password.

Tom qab ntawd, ib tus tuaj yeem nug, Kuv yuav rov pib dua kuv tus password pgAdmin 4 li cas?

Xyuas kom meej tias koj tus password tsis qhib rau phau ntawv txhais lus tawm tsam.

Siv lub Change Password dialog los hloov koj tus password:

  1. Nkag mus rau koj tus password uas twb muaj lawm nyob rau hauv Current Password field.
  2. Sau tus password xav tau rau hauv New Password teb.
  3. Rov qab nkag tus password tshiab hauv daim ntawv lees paub Password.

Tsis tas li ntawd, pgAdmin khaws password nyob qhov twg? Yog tias koj xaiv Khaws tus password ”, pgAdmin khaws cov passwords koj nkag rau hauv lub ~/. pgpass cov ntaub ntawv hauv qab Unix lossis:file:%APPDATA%postgresqlpgpass. conf nyob rau hauv Win32 rau rov qab siv dua.

Tsis tas li ntawd, lub neej ntawd lo lus zais rau pgAdmin yog dab tsi?

tsis muaj ib default password . Cov ua ntej authentication hom rau PostgreSQL yog teeb kom paub. … koj yuav pom hom authentication yog tus.

Kuv yuav nrhiav tau kuv tus password Postgres li cas?

  1. Yuav ua li cas rov qab tsis nco qab lo lus zais ntawm PostgreSQL?
  2. Kho cov ntaub ntawv pg_hba.conf: Hloov kab hauv qab no rau MD5 rau TRUST.
  3. Rov pib dua PostgreSQL Server:
  4. Txuas lub PostgreSQL:
  5. Hloov tus password ntawm tus neeg siv postgres:
  6. Thaum kawg, rollback qhov hloov pauv hauv pg_hba.conf cov ntaub ntawv thiab rov pib dua PostgreSQL Server:

Pom zoo: