Authentication with old password no longer supported, use 4.1 style passwords

前端 未结 9 640
孤城傲影
孤城傲影 2020-11-29 06:06

I have my website with hostgator and I want to access mysql database with C# windows application but when I tried to connect got this message:

\"Auth

9条回答
  •  臣服心动
    2020-11-29 06:27

    Forget about applying SET old_password=0 since if the server is configured to use new password there is no reason to change the flag on the server if your app does not access anymore. Investigate the connector NET that you are using.

    Connector 6.5.4 is the right one to use old_password, rencent version are using the new one.

    The best practice would be to avoid to install the connector on the machine, just leave the NET to handle the dll if you already have it or anyway try to find MySQL.Data.DLL version 6.5.4.0 (384 kbytes)

提交回复
热议问题