I can connect to local MySql server in my C#/.Net winform app but when I try to connect to a remote MySql server. I got a "Access denied for user @'%' to database" error message. However, if the remote server is denying the connection. How come I can connect to the remote MySql database with DbVisualizer? I'm pretty sure the problem is not with code but rather the server settings.
Remote MySql Access denied for user with C# code but can connect with DbVisualizer
1.5k views Asked by Jack At
2
compare this code with yours.