First of all, I'm new with MySQL and have a question.
I tried to connect C# to MySQL but I got an error.
This is the important code:
My question is: What did I do wrong? And how can I fix it?
Hope that helps.
P.S. I apologize for my bad english.
Access in MySQL is controlled at both a user and host level. You need to allow access explicitly for the computer you're connecting from (or use the wildcard '%' to allow all hosts) with the user you're connecting as.