mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
Add 'auth_plugin' option (#389)
This commit is contained in:

committed by
Inada Naoki

parent
17045e8ed0
commit
acf4cdcf89
@ -86,6 +86,11 @@ class Connection(_mysql.connection):
|
||||
On Python 2, this option changes default value of `use_unicode`
|
||||
option from False to True.
|
||||
|
||||
:param str auth_plugin:
|
||||
If supplied, the connection default authentication plugin will be
|
||||
changed to this value. Example values:
|
||||
`mysql_native_password` or `caching_sha2_password`
|
||||
|
||||
:param str sql_mode:
|
||||
If supplied, the session SQL mode will be changed to this
|
||||
setting.
|
||||
|
Reference in New Issue
Block a user