LoginSignup
0
0

More than 1 year has passed since last update.

【MySQL】【Go】this user requires mysql native password authentication.

Posted at

go-sql-driverでthis user requires mysql native password authentication.エラー

結論

my.ini

[mysqld]
default_authentication_plugin=mysql_native_password

詳細

このエラーで調べると、 AllowNativePasswords: true を設定するように書いているのですが、これだけだと繋がらない場合はmysql側の設定を見直します。
https://qiita.com/ushio_s/items/ab64e7e9222bb5a67a11

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0