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

前端 未结 9 620
孤城傲影
孤城傲影 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:47

    Today I had a similar problem in my C# application. I tried connecting to a server at hostgator.com (mysql) and connecting to localhost. After reading many posts and making many alterations, following every step but I couldn't connect to my hostgator mysql.

    The solution in my case was to change the MySql Connector/NET library from version 6.* to version 5.*. After the change my application connected successfully.

    While this might not be a viable solution for everyone, it may work for some.

提交回复
热议问题