Can't connect to remote SQL server in C#
问题 I created a database on freesqldatabase.com and was in the process of writing a C# script to connect to it and I cannot seem to get it to connect successfully. I think the issue is in the connection string, but I'm not sure what the problem is. I've been trying to get advice from documentation, but I haven't been able to fix it. My connection method is below: Note: connAddr = sql3.freesqldatabase.com Note: port = 3306 public static void Connect(string connAddr, int port) { CloseConnection();