Skip to content

Allow per-connection commands to automatically be executed #176

Closed
@schveiguy

Description

@schveiguy

When using MySQL connection, it may be nice to automatically have it set some options. For example the modes here: https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html

I wonder if it may be useful to just submit some statements that should be executed every time a connection is re-established (as this is sometimes done transparently in the background).

It also would be good to set these statements in a pool so all connections from that pool do the same thing.

See for example: #65 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions