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
Today I found the same problem. I downloaded Workbench. There are some settings for workbench to connect database, as follows: 1.select tab SSL , select option 'no' in "Use SSL". 2. select tab advanced, select in Use the ole authentication Protocol. after that Workbench working. and follow tai1001' post. That are all I found all steps that work.
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.
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:
Download version 5.2.7 from https://dev.mysql.com/downloads/connector/net/6.9.html
Add .dll as reference to application
Presto!