Jump to content

Sign in to follow this  
alex41

problem with postgres database

Recommended Posts

Tengo un problema en una aplicación conectada a una base de datos SQL de postgres, ya está cargada y accesible pero la aplicación no reconoce al usuario y la contraseña para ingresar me dice incorrecta, hay alguna forma de verificar el usuario y la contraseña o de hecho restablecer la contraseña? por favor muchas gracias

Share this post


Link to post

1) Edit the pg_bha.conf file and add the following line to your file: "local all all trust"
2) Restart the postgres service (if it doesn't restart, change "local all all trust" to "host all all 127.0.0.1/32 trust"
3) Try to connect to the postgres service using the "postgres" superuser
4) Reset the password using the following command: ALTER USER {USERNAME} with password '{PASSWORD}';
5) Restart the postgres service again.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...