[Sqlalchemy-tickets] Issue #3077: SQLALCHEMY_DATABASE_URI with psycopg2 wont work if password have
Brought to you by:
zzzeek
|
From: Marcin J. <iss...@bi...> - 2014-06-09 21:00:57
|
New issue 3077: SQLALCHEMY_DATABASE_URI with psycopg2 wont work if password have '+' https://bitbucket.org/zzzeek/sqlalchemy/issue/3077/sqlalchemy_database_uri-with-psycopg2-wont Marcin Jabrzyk: Just tried to create URI connection string where user have password with '+' character, SQLAlchemy gives no clue in error and connecting to database using psql works fine. Example URI: SQLALCHEMY_DATABASE_URI = "postgresql+psycopg2://user:us...@so...:5432/some_db" Output: sqlalchemy.exc.OperationalError: (OperationalError) FATAL: password authentication failed for user "user" FATAL: password authentication failed for user "user" None None Changing password to not having '+' works fine. |