From: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
---|---|
To: | William Torrez Corea <willitc9888(at)gmail(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: My account was locked in pgadmin4 |
Date: | 2022-11-25 05:50:03 |
Message-ID: | CAM9w-_mDeZBvARFv+4XgzDrftoFi93gXCzeRtUZY0+NXaf890Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi William,
Refer -
https://www.pgadmin.org/docs/pgadmin4/latest/config_py.html#the-config-py-file
to create a config_local file and add the mentioned config settings.
Refer - https://kinsta.com/blog/gmail-smtp-server/ to use your gmail for
SMTP.
Alternatively, if you have access to your pgAdmin installation then you can
simply remove the pgadmin4.db file. It should be in /var/lib/pgadmin.
Please note, this will also remove all the server configuration added to
pgAdmin. Once removed, run sudo /usr/pgadmin4/bin/setup-web.sh to set
username password again.
On Thu, Nov 24, 2022 at 10:01 PM William Torrez Corea <willitc9888(at)gmail(dot)com>
wrote:
>
> On Thu, Nov 24, 2022 at 2:06 AM Aditya Toshniwal <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
>> Hi William,
>>
>> Have you configured the SMTP configuration in pgAdmin? You need to set it
>> to receive emails.
>>
>> ########################################################################### Mail server settings##########################################################################
>> # These settings are used when running in web server mode for confirming# and resetting passwords etc.# See: http://pythonhosted.org/Flask-Mail/ for more infoMAIL_SERVER = 'localhost'MAIL_PORT = 25MAIL_USE_SSL = FalseMAIL_USE_TLS = FalseMAIL_USERNAME = ''MAIL_PASSWORD = ''MAIL_DEBUG = False
>>
>>
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Software Architect | *edbpostgres.com*
>> <http://edbpostgres.com>
>> "Don't Complain about Heat, Plant a TREE"
>>
>
> How to make this configuration?
>
> --
>
> With kindest regards, William.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄⠀⠀⠀⠀
>
>
>
--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"
From | Date | Subject | |
---|---|---|---|
Next Message | William Torrez Corea | 2022-11-26 13:46:59 | Configure my server |
Previous Message | William Torrez Corea | 2022-11-24 16:31:16 | Re: My account was locked in pgadmin4 |