MYSQL ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol ref used (client option 'secure_auth' enabled)

前端 未结 8 1104
执念已碎
执念已碎 2020-12-29 13:07

when I tried to restore all database dump which is in 5.0 version to 5.6 version, it got restored and after that when I tried to reconnect, am getting the following error

相关标签:
8条回答
  • 2020-12-29 13:51

    Fixed as of MySQL Workbench 6.0.7, and here's the changelog entry:

    A new option was added in the connection settings "Advanced" tab for disabling the secure_auth (useLegacyAuth) option, to optionally connect to legacy systems.

    enter image description here

    0 讨论(0)
  • 2020-12-29 13:53

    Use this workaround for MySQLWorkBench 6.0 at the Manage Server Connections Dialog Box:

    Add useLegacyAuth=1 in the Advanced options box in the connection settings dialog.

    0 讨论(0)
提交回复
热议问题