You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default value of allowNativePasswords should be true. But it's false by default. Using other language's mysql driver, the connection is established without the option allowNativePasswords, when the mysql server requires native password authentication.
So is it possible to set the default value to true?
I see allowOldPasswords and allowClearPasswords, that is needed because those password method is not secure and need to set false. But native password is the default options. Why the native password should be set false by this options?
Issue description
The default value of
allowNativePasswords
should betrue
. But it's false by default. Using other language's mysql driver, the connection is established without the optionallowNativePasswords
, when the mysql server requires native password authentication.So is it possible to set the default value to
true
?Example code
Error log
Configuration
Driver version (or git SHA): 1.3
Go version: go version go1.8 linux/amd64
Server version: MySQL 5.7
Server OS: N/A
The text was updated successfully, but these errors were encountered: