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

前端 未结 8 1170
执念已碎
执念已碎 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:44

    On the command line, use something like the following, if you have no choice...

    mysql -uTheUseerNAme -pThePassword DbName -h HostName --skip-secure-auth
    

    Hope this helps someone, as this was my problem connecting from a Linux box

提交回复
热议问题