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
Had the same problem using MySqlClient package for C#. Let's break it down:
We need the database to not use old style passwords, thus we perform
SET old_passwords=0;
NOTICE there is no "SESSION" keyword. This is what allowed only your first query to work, "SESSION" implies temporary and any session settings are lost after a session ends.
Next we need to set the password of the user@host to the new password style
SET PASSWORD FOR user@host = PASSWORD('password');
This two should allow your MySqlClient