fluent-plugin-mysql
fluent-plugin-mysql copied to clipboard
Add init_command parameter
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