Skip to content

add section to engines.rst how to urlencode special chars in passwords #4452

@ronlut

Description

@ronlut

Hi.

Our password (generated by MySQL) contains a percent (%) symbol.

The _rfc_1738_unquote function, called by _parse_rfc1738_args in the process of creating an engine, replaces the percent symbol (and the character following it) with another symbol, making the password impossible to encode into latin-1 by the pymysql driver later on.

In our example, %8 turns into some unicode character I guess:
image

Is that a bug or is that by design?
If that's not a bug, what can I do to deal with it? Except changing the password.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationeasya one / two liner type of thing that anyone can do in short order. also see "fairly easy"engineengines, connections, transactions, isolation levels, execution options

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions