我无法连接到我的数据库。这是我的connectionstring(使用mysql.data.mysqlclient)
MySqlConnectionStringBuilder myBuilder = new MySqlConnectionStringBuilder();
myBuilder.Database = "rds-mysql";
myBuilder.Server = "rds-mysql.cnpzvlsgflgi.us-west-2.rds.amazonaws.com";
myBuilder.Port = 3606;
myBuilder.UserID = "username";
myBuilder.Password = "****";
MySqlConnection myconn = new MySqlConnection(myBuilder.ConnectionString);
myconn.Open();
我甚至调整了我的安全组以允许我的IP地址并关闭我的防火墙,但它仍然无法连接。 附加信息:无法连接到任何指定的MySQL主机
任何帮助都会很棒,谢谢。