Skip to content

Documentation about setting SQL Mode in MySQL incomplete #1552

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot

Migrated issue, originally created by Anonymous

The documentation of the SQL Mode setting in MySQL states that to change the SQL Mode without modifying the global server settings, one should create a pool listener to do this automatically when connecting.

There is a much easyer method however, mysql://localhost/test could easily be replaced with mysql://localhost/test?sql_mode=ANSI_QUOTES or something like that which has been supported by MySQLdb for quite some time already.

Perhaps this should be noted in the docs before telling someone to go through the steps of creating a pool listener?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions