blackbeam / rust-mysql-simple

Mysql client library implemented in rust.
Apache License 2.0
652 stars 145 forks source link

disable-auto-rehash? #334

Open cmollissony opened 1 year ago

cmollissony commented 1 year ago

Is there a way to add this connection attribute on connection intialization? it would make initial connections a bit faster.. doesn't look like it's currently supported..

blackbeam commented 1 year ago

Hi.

It's a mysql cli option. This completion-hash thing is inapplicable to the driver.

Btw, why do you asking? Do you have any issues with how fast your connections are established?

cmollissony commented 1 year ago

thanks for getting back to me.. it seems to take a bit of time to connect (a few seconds).. similar to the mysql client when auto-rehash is on, but it's probably unrelated. Could just be something within this network.. If this option has nothing to do with the driver, then no worries.