如何在finagle-mysql中设置connectionInitSql

时间:2018-09-21 13:52:00

标签: mysql scala connection-pooling finagle twitter-finagle

有没有什么好的方法可以在finagle-mysql中设置connection-init-sql? 像SET SESSION sql_mode='...'。 我想我们需要自定义

https://github.com/twitter/finagle/tree/develop/finagle-mysql

I know HikariCP support it, but finagle-mysql connection pool seems not have such api.


I'm wondering we need customize ClientDispatcher.connPhase...?

0 个答案:

没有答案