I am trying to connect my MySQL database with C# but it's not getting connected.
I am using
static string connstring = @"server=my.live.ip;userid=user;password=123;database=db_name;port=3306";
but still I am getting
Authentication to host 'my.live.ip' for user 'user' using method 'mysql_native_password' failed with message: Access denied for user 'user'@'202.xxx.xxx.xxx' (using password: NO)`
I have searched on it but didn't find any suitable solution(s).
P.S: The live IP that I am using is of azure. i.e. MySQL database is hosted on azure server via xampp
Any help would be highly appreciated