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

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

    Just wanted to add to @diangelisj answer and say the root of the problem is the version of PhpMyAdmin installed on your server. In order to use the latest MySQL Data Connector class, you have to have the latest PhpMyAdmin (or issues arise). In my case, I have PhpMyAdmin 4.0.10.7 and tried using MySQL Data Connector 6.7.9, which gave the error.

    What I did:

    1. Download version 5.2.7 from https://dev.mysql.com/downloads/connector/net/6.9.html

    2. Add .dll as reference to application

    3. Presto!

提交回复
热议问题