You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to create the database on applying the migration, I encounter this error:
Error
The database URL is set as: postgresql://postgres:@localhost/flask_jwt_auth.
Solve
I managed to change the database URL to now include a password: postgresql://postgres:postgres@localhost/flask_jwt_auth. postgres is the password for the Postgres database which matches this pattern postgresql://user:password@localhost/database_name.
I think it will be good to include this information in the documentation if anyone encounters such an error.
When I try to create the database on applying the migration, I encounter this error:
Error
The database URL is set as:
postgresql://postgres:@localhost/flask_jwt_auth
.Solve
I managed to change the database URL to now include a password:
postgresql://postgres:postgres@localhost/flask_jwt_auth
. postgres is the password for the Postgres database which matches this patternpostgresql://user:password@localhost/database_name
.I think it will be good to include this information in the documentation if anyone encounters such an error.
Reference
https://stackoverflow.com/questions/23839656/sqlalchemy-no-password-supplied-error
The text was updated successfully, but these errors were encountered: