Skip to content

Conversation

sekiyama58
Copy link

@sekiyama58 sekiyama58 commented Aug 31, 2021

This adds a config parameter init_command, which specifies a SQL string executed after the connection to the database is established.
This can be useful to set sql_mode, for example.
c.f. https://github.com/brianmario/mysql2#initial-command-on-connect-and-reconnect

This adds a config parameter `init_command` which specifies a SQL string
executed after the connection to the database is established.
This can be useful to set sql_mode, for example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant